


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <script type="text/javascript">
 
 
 
 var codesite_token = "5c206b958bb2bb3feae460371ca1c655";
 
 
 var logged_in_user_email = "mikekrieger@gmail.com";
 
 </script>
 
 
 <title>jqtouch.js - 
 jqtouch -
 
 Project Hosting on Google Code</title>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
 
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/14614399729835259589/css/ph_core.css">
 
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/14614399729835259589/css/ph_detail.css" >
 
 
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/14614399729835259589/css/d_sb_20080522.css" >
 
 
 
<!--[if IE]>
 <link type="text/css" rel="stylesheet" href="http://www.gstatic.com/codesite/ph/14614399729835259589/css/d_ie.css" >
<![endif]-->
 <style type="text/css">
 .menuIcon.off { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 -42px }
 .menuIcon.on { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 -28px }
 .menuIcon.down { background: no-repeat url(http://www.gstatic.com/codesite/ph/images/dropdown_sprite.gif) 0 0; }
 .results th a, .results th a:visited { background: url(http://www.gstatic.com/codesite/ph/images/downarrow.gif) no-repeat top right }
 </style>
</head>
<body class="t4">
 <div id="gaia">
 
 <span>
 
 <b>mikekrieger@gmail.com</b>
 
 
 | <a href="/u/mikekrieger/" id="projects-dropdown" onclick="return false;">My favorites</a><img width="14" height="14" class="menuIcon off" id="menuIcon-projects-dropdown" src="http://www.gstatic.com/codesite/ph/images/cleardot.gif"/>
 
 | <a href="/u/mikekrieger/" onclick="_CS_click('/gb/ph/profile');" title="Profile, Updates, and Settings">Profile</a>
 | <a href="http://www.google.com/accounts/Logout?continue=http%3A%2F%2Fcode.google.com%2Fp%2Fjqtouch%2Fsource%2Fbrowse%2Ftrunk%2Fjqtouch%2Fjqtouch.js" onclick="_CS_click('/gb/ph/signout');">Sign out</a>
 
 </span>

 </div>
 <div class="gbh" style="left: 0pt;"></div>
 <div class="gbh" style="right: 0pt;"></div>
 
 
 <div style="height: 1px"></div>
<!--[if IE 6]>
<div style="text-align:center;">
Support browsers that contribute to open source, try <a href="http://www.firefox.com">Firefox</a> or <a href="http://www.google.com/chrome">Google Chrome</a>.
</div>
<![endif]-->
 <table style="padding:0px; margin: 20px 0px 0px 0px; width:100%" cellpadding="0" cellspacing="0">
 <tr style="height: 58px;">
 
 <td style="width: 55px; text-align:center;">
 <a href="/p/jqtouch/">
 
 
 
 <img src="/p/jqtouch/logo?logo_id=1251606318" alt="Logo">
 
 
 </a>
 </td>
 
 <td style="padding-left: 0.8em">
 
 <div id="pname" style="margin: 0px 0px -3px 0px">
 <a href="/p/jqtouch/" style="text-decoration:none; color:#000">jqtouch</a>
 </div>
 
 <div id="psum">
 <i><a id="project_summary_link" href="/p/jqtouch/" style="text-decoration:none; color:#000">A jQuery plugin for mobile WebKit development</a></i>
 </div>
 
 </td>
 <td style="white-space:nowrap; text-align:right">
 
 <form action="/hosting/search">
 <input size="30" name="q" value="">
 <input type="submit" name="projectsearch" value="Search projects" >
 </form>
 
 </tr>
 </table>



 <table id="mt" cellspacing="0" cellpadding="0" width="100%" border="0">
 <tr>
 <th onclick="if (!cancelBubble) _go('/p/jqtouch/');">
 <div class="tab inactive">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/jqtouch/">Project&nbsp;Home</a>
 </div>
 </div>
 </th><td>&nbsp;&nbsp;</td>
 
 
 
 
 <th onclick="if (!cancelBubble) _go('/p/jqtouch/downloads/list');">
 <div class="tab inactive">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/jqtouch/downloads/list">Downloads</a>
 </div>
 </div>
 </th><td>&nbsp;&nbsp;</td>
 
 
 
 
 
 <th onclick="if (!cancelBubble) _go('/p/jqtouch/w/list');">
 <div class="tab inactive">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/jqtouch/w/list">Wiki</a>
 </div>
 </div>
 </th><td>&nbsp;&nbsp;</td>
 
 
 
 
 
 <th onclick="if (!cancelBubble) _go('/p/jqtouch/issues/list');">
 <div class="tab inactive">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/jqtouch/issues/list">Issues</a>
 </div>
 </div>
 </th><td>&nbsp;&nbsp;</td>
 
 
 
 
 
 <th onclick="if (!cancelBubble) _go('/p/jqtouch/source/checkout');">
 <div class="tab active">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <a onclick="cancelBubble=true;" href="/p/jqtouch/source/checkout">Source</a>
 </div>
 </div>
 </th><td>&nbsp;&nbsp;</td>
 
 
 <td width="100%">&nbsp;</td>
 </tr>
</table>
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0" class="st">
 <tr>
 
 
 
 
 
 
 <td>
 <div class="st2">
 <div class="isf">
 
 
 
 <span class="inst1"><a href="/p/jqtouch/source/checkout">Checkout</a></span> |
 <span class="inst2"><a href="/p/jqtouch/source/browse/">Browse</a></span> |
 <span class="inst3"><a href="/p/jqtouch/source/list">Changes</a></span> |
 
 <form action="http://www.google.com/codesearch" method="get" style="display:inline"
 onsubmit="document.getElementById('codesearchq').value = document.getElementById('origq').value + ' package:http://jqtouch\\.googlecode\\.com'">
 <input type="hidden" name="q" id="codesearchq" value="">
 <input maxlength="2048" size="35" id="origq" name="origq" value="" title="Google Code Search" style="font-size:92%">&nbsp;<input type="submit" value="Search Trunk" name="btnG" style="font-size:92%">
 
 
 
 </form>
 </div>
</div>

 </td>
 
 
 
 
 
 <td height="4" align="right" valign="top" class="bevel-right">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 </td>
 </tr>
</table>
<script type="text/javascript">
 var cancelBubble = false;
 function _go(url) { document.location = url; }
</script>


<div id="maincol"
 
>

 
<!-- IE -->



<div class="expand">


<style type="text/css">
 #file_flipper { display: inline; float: right; white-space: nowrap; }
 #file_flipper.hidden { display: none; }
 #file_flipper .pagelink { color: #0000CC; text-decoration: underline; }
 #file_flipper #visiblefiles { padding-left: 0.5em; padding-right: 0.5em; }
</style>
<div id="nav_and_rev" class="heading">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner" id="bub">
 <div class="bub-top">
 <div class="pagination" style="margin-left: 2em">
 <table cellpadding="0" cellspacing="0" class="flipper">
 <tbody>
 <tr>
 
 <td>
 <ul class="leftside">
 
 <li><a href="/p/jqtouch/source/browse/trunk/jqtouch/jqtouch.js?r=111" title="Previous">&lsaquo;r111</a></li>
 
 </ul>
 </td>
 
 <td><b>r114</b></td>
 
 </tr>
 </tbody>
 </table>
 </div>
 
 <div class="" style="vertical-align: top">
 <div class="src_crumbs src_nav">
 <strong class="src_nav">Source path:&nbsp;</strong>
 <span id="crumb_root">
 
 <a href="/p/jqtouch/source/browse/">svn</a>/&nbsp;</span>
 <span id="crumb_links" class="ifClosed"><a href="/p/jqtouch/source/browse/trunk/">trunk</a><span class="sp">/&nbsp;</span><a href="/p/jqtouch/source/browse/trunk/jqtouch/">jqtouch</a><span class="sp">/&nbsp;</span>jqtouch.js</span>
 
 
 </div>
 
 </div>
 <div style="clear:both"></div>
 </div>
 </div>
</div>

<style type="text/css">
 
  tr.inline_comment {
 background: #fff;
 vertical-align: top;
 }
 div.draft, div.published {
 padding: .3em;
 border: 1px solid #999; 
 margin-bottom: .1em;
 font-family: arial, sans-serif;
 max-width: 60em;
 }
 div.draft {
 background: #ffa;
 } 
 div.published {
 background: #e5ecf9;
 }
 div.published .body, div.draft .body {
 padding: .5em .1em .1em .1em;
 max-width: 60em;
 white-space: pre-wrap;
 white-space: -moz-pre-wrap;
 white-space: -pre-wrap;
 white-space: -o-pre-wrap;
 word-wrap: break-word;
 }
 div.draft .actions {
 margin-left: 1em;
 font-size: 90%;
 }
 div.draft form {
 padding: .5em .5em .5em 0;
 }
 div.draft textarea, div.published textarea {
 width: 95%;
 height: 10em;
 font-family: arial, sans-serif;
 margin-bottom: .5em;
 }


 
 .nocursor, .nocursor td, .cursor_hidden, .cursor_hidden td {
 background-color: white;
 height: 2px;
 }
 .cursor, .cursor td {
 background-color: darkblue;
 height: 2px;
 display: '';
 }

</style>
<div class="fc">
 


<table class="opened" id="review_comment_area"><tr>
<td id="nums">
<pre><table width="100%"><tr class="nocursor"><td></td></tr></table></pre>

<pre><table width="100%"><tr id="gr_svn114_1"><td id="1"><a href="#1">1</a></td></tr
><tr id="gr_svn114_2"><td id="2"><a href="#2">2</a></td></tr
><tr id="gr_svn114_3"><td id="3"><a href="#3">3</a></td></tr
><tr id="gr_svn114_4"><td id="4"><a href="#4">4</a></td></tr
><tr id="gr_svn114_5"><td id="5"><a href="#5">5</a></td></tr
><tr id="gr_svn114_6"><td id="6"><a href="#6">6</a></td></tr
><tr id="gr_svn114_7"><td id="7"><a href="#7">7</a></td></tr
><tr id="gr_svn114_8"><td id="8"><a href="#8">8</a></td></tr
><tr id="gr_svn114_9"><td id="9"><a href="#9">9</a></td></tr
><tr id="gr_svn114_10"><td id="10"><a href="#10">10</a></td></tr
><tr id="gr_svn114_11"><td id="11"><a href="#11">11</a></td></tr
><tr id="gr_svn114_12"><td id="12"><a href="#12">12</a></td></tr
><tr id="gr_svn114_13"><td id="13"><a href="#13">13</a></td></tr
><tr id="gr_svn114_14"><td id="14"><a href="#14">14</a></td></tr
><tr id="gr_svn114_15"><td id="15"><a href="#15">15</a></td></tr
><tr id="gr_svn114_16"><td id="16"><a href="#16">16</a></td></tr
><tr id="gr_svn114_17"><td id="17"><a href="#17">17</a></td></tr
><tr id="gr_svn114_18"><td id="18"><a href="#18">18</a></td></tr
><tr id="gr_svn114_19"><td id="19"><a href="#19">19</a></td></tr
><tr id="gr_svn114_20"><td id="20"><a href="#20">20</a></td></tr
><tr id="gr_svn114_21"><td id="21"><a href="#21">21</a></td></tr
><tr id="gr_svn114_22"><td id="22"><a href="#22">22</a></td></tr
><tr id="gr_svn114_23"><td id="23"><a href="#23">23</a></td></tr
><tr id="gr_svn114_24"><td id="24"><a href="#24">24</a></td></tr
><tr id="gr_svn114_25"><td id="25"><a href="#25">25</a></td></tr
><tr id="gr_svn114_26"><td id="26"><a href="#26">26</a></td></tr
><tr id="gr_svn114_27"><td id="27"><a href="#27">27</a></td></tr
><tr id="gr_svn114_28"><td id="28"><a href="#28">28</a></td></tr
><tr id="gr_svn114_29"><td id="29"><a href="#29">29</a></td></tr
><tr id="gr_svn114_30"><td id="30"><a href="#30">30</a></td></tr
><tr id="gr_svn114_31"><td id="31"><a href="#31">31</a></td></tr
><tr id="gr_svn114_32"><td id="32"><a href="#32">32</a></td></tr
><tr id="gr_svn114_33"><td id="33"><a href="#33">33</a></td></tr
><tr id="gr_svn114_34"><td id="34"><a href="#34">34</a></td></tr
><tr id="gr_svn114_35"><td id="35"><a href="#35">35</a></td></tr
><tr id="gr_svn114_36"><td id="36"><a href="#36">36</a></td></tr
><tr id="gr_svn114_37"><td id="37"><a href="#37">37</a></td></tr
><tr id="gr_svn114_38"><td id="38"><a href="#38">38</a></td></tr
><tr id="gr_svn114_39"><td id="39"><a href="#39">39</a></td></tr
><tr id="gr_svn114_40"><td id="40"><a href="#40">40</a></td></tr
><tr id="gr_svn114_41"><td id="41"><a href="#41">41</a></td></tr
><tr id="gr_svn114_42"><td id="42"><a href="#42">42</a></td></tr
><tr id="gr_svn114_43"><td id="43"><a href="#43">43</a></td></tr
><tr id="gr_svn114_44"><td id="44"><a href="#44">44</a></td></tr
><tr id="gr_svn114_45"><td id="45"><a href="#45">45</a></td></tr
><tr id="gr_svn114_46"><td id="46"><a href="#46">46</a></td></tr
><tr id="gr_svn114_47"><td id="47"><a href="#47">47</a></td></tr
><tr id="gr_svn114_48"><td id="48"><a href="#48">48</a></td></tr
><tr id="gr_svn114_49"><td id="49"><a href="#49">49</a></td></tr
><tr id="gr_svn114_50"><td id="50"><a href="#50">50</a></td></tr
><tr id="gr_svn114_51"><td id="51"><a href="#51">51</a></td></tr
><tr id="gr_svn114_52"><td id="52"><a href="#52">52</a></td></tr
><tr id="gr_svn114_53"><td id="53"><a href="#53">53</a></td></tr
><tr id="gr_svn114_54"><td id="54"><a href="#54">54</a></td></tr
><tr id="gr_svn114_55"><td id="55"><a href="#55">55</a></td></tr
><tr id="gr_svn114_56"><td id="56"><a href="#56">56</a></td></tr
><tr id="gr_svn114_57"><td id="57"><a href="#57">57</a></td></tr
><tr id="gr_svn114_58"><td id="58"><a href="#58">58</a></td></tr
><tr id="gr_svn114_59"><td id="59"><a href="#59">59</a></td></tr
><tr id="gr_svn114_60"><td id="60"><a href="#60">60</a></td></tr
><tr id="gr_svn114_61"><td id="61"><a href="#61">61</a></td></tr
><tr id="gr_svn114_62"><td id="62"><a href="#62">62</a></td></tr
><tr id="gr_svn114_63"><td id="63"><a href="#63">63</a></td></tr
><tr id="gr_svn114_64"><td id="64"><a href="#64">64</a></td></tr
><tr id="gr_svn114_65"><td id="65"><a href="#65">65</a></td></tr
><tr id="gr_svn114_66"><td id="66"><a href="#66">66</a></td></tr
><tr id="gr_svn114_67"><td id="67"><a href="#67">67</a></td></tr
><tr id="gr_svn114_68"><td id="68"><a href="#68">68</a></td></tr
><tr id="gr_svn114_69"><td id="69"><a href="#69">69</a></td></tr
><tr id="gr_svn114_70"><td id="70"><a href="#70">70</a></td></tr
><tr id="gr_svn114_71"><td id="71"><a href="#71">71</a></td></tr
><tr id="gr_svn114_72"><td id="72"><a href="#72">72</a></td></tr
><tr id="gr_svn114_73"><td id="73"><a href="#73">73</a></td></tr
><tr id="gr_svn114_74"><td id="74"><a href="#74">74</a></td></tr
><tr id="gr_svn114_75"><td id="75"><a href="#75">75</a></td></tr
><tr id="gr_svn114_76"><td id="76"><a href="#76">76</a></td></tr
><tr id="gr_svn114_77"><td id="77"><a href="#77">77</a></td></tr
><tr id="gr_svn114_78"><td id="78"><a href="#78">78</a></td></tr
><tr id="gr_svn114_79"><td id="79"><a href="#79">79</a></td></tr
><tr id="gr_svn114_80"><td id="80"><a href="#80">80</a></td></tr
><tr id="gr_svn114_81"><td id="81"><a href="#81">81</a></td></tr
><tr id="gr_svn114_82"><td id="82"><a href="#82">82</a></td></tr
><tr id="gr_svn114_83"><td id="83"><a href="#83">83</a></td></tr
><tr id="gr_svn114_84"><td id="84"><a href="#84">84</a></td></tr
><tr id="gr_svn114_85"><td id="85"><a href="#85">85</a></td></tr
><tr id="gr_svn114_86"><td id="86"><a href="#86">86</a></td></tr
><tr id="gr_svn114_87"><td id="87"><a href="#87">87</a></td></tr
><tr id="gr_svn114_88"><td id="88"><a href="#88">88</a></td></tr
><tr id="gr_svn114_89"><td id="89"><a href="#89">89</a></td></tr
><tr id="gr_svn114_90"><td id="90"><a href="#90">90</a></td></tr
><tr id="gr_svn114_91"><td id="91"><a href="#91">91</a></td></tr
><tr id="gr_svn114_92"><td id="92"><a href="#92">92</a></td></tr
><tr id="gr_svn114_93"><td id="93"><a href="#93">93</a></td></tr
><tr id="gr_svn114_94"><td id="94"><a href="#94">94</a></td></tr
><tr id="gr_svn114_95"><td id="95"><a href="#95">95</a></td></tr
><tr id="gr_svn114_96"><td id="96"><a href="#96">96</a></td></tr
><tr id="gr_svn114_97"><td id="97"><a href="#97">97</a></td></tr
><tr id="gr_svn114_98"><td id="98"><a href="#98">98</a></td></tr
><tr id="gr_svn114_99"><td id="99"><a href="#99">99</a></td></tr
><tr id="gr_svn114_100"><td id="100"><a href="#100">100</a></td></tr
><tr id="gr_svn114_101"><td id="101"><a href="#101">101</a></td></tr
><tr id="gr_svn114_102"><td id="102"><a href="#102">102</a></td></tr
><tr id="gr_svn114_103"><td id="103"><a href="#103">103</a></td></tr
><tr id="gr_svn114_104"><td id="104"><a href="#104">104</a></td></tr
><tr id="gr_svn114_105"><td id="105"><a href="#105">105</a></td></tr
><tr id="gr_svn114_106"><td id="106"><a href="#106">106</a></td></tr
><tr id="gr_svn114_107"><td id="107"><a href="#107">107</a></td></tr
><tr id="gr_svn114_108"><td id="108"><a href="#108">108</a></td></tr
><tr id="gr_svn114_109"><td id="109"><a href="#109">109</a></td></tr
><tr id="gr_svn114_110"><td id="110"><a href="#110">110</a></td></tr
><tr id="gr_svn114_111"><td id="111"><a href="#111">111</a></td></tr
><tr id="gr_svn114_112"><td id="112"><a href="#112">112</a></td></tr
><tr id="gr_svn114_113"><td id="113"><a href="#113">113</a></td></tr
><tr id="gr_svn114_114"><td id="114"><a href="#114">114</a></td></tr
><tr id="gr_svn114_115"><td id="115"><a href="#115">115</a></td></tr
><tr id="gr_svn114_116"><td id="116"><a href="#116">116</a></td></tr
><tr id="gr_svn114_117"><td id="117"><a href="#117">117</a></td></tr
><tr id="gr_svn114_118"><td id="118"><a href="#118">118</a></td></tr
><tr id="gr_svn114_119"><td id="119"><a href="#119">119</a></td></tr
><tr id="gr_svn114_120"><td id="120"><a href="#120">120</a></td></tr
><tr id="gr_svn114_121"><td id="121"><a href="#121">121</a></td></tr
><tr id="gr_svn114_122"><td id="122"><a href="#122">122</a></td></tr
><tr id="gr_svn114_123"><td id="123"><a href="#123">123</a></td></tr
><tr id="gr_svn114_124"><td id="124"><a href="#124">124</a></td></tr
><tr id="gr_svn114_125"><td id="125"><a href="#125">125</a></td></tr
><tr id="gr_svn114_126"><td id="126"><a href="#126">126</a></td></tr
><tr id="gr_svn114_127"><td id="127"><a href="#127">127</a></td></tr
><tr id="gr_svn114_128"><td id="128"><a href="#128">128</a></td></tr
><tr id="gr_svn114_129"><td id="129"><a href="#129">129</a></td></tr
><tr id="gr_svn114_130"><td id="130"><a href="#130">130</a></td></tr
><tr id="gr_svn114_131"><td id="131"><a href="#131">131</a></td></tr
><tr id="gr_svn114_132"><td id="132"><a href="#132">132</a></td></tr
><tr id="gr_svn114_133"><td id="133"><a href="#133">133</a></td></tr
><tr id="gr_svn114_134"><td id="134"><a href="#134">134</a></td></tr
><tr id="gr_svn114_135"><td id="135"><a href="#135">135</a></td></tr
><tr id="gr_svn114_136"><td id="136"><a href="#136">136</a></td></tr
><tr id="gr_svn114_137"><td id="137"><a href="#137">137</a></td></tr
><tr id="gr_svn114_138"><td id="138"><a href="#138">138</a></td></tr
><tr id="gr_svn114_139"><td id="139"><a href="#139">139</a></td></tr
><tr id="gr_svn114_140"><td id="140"><a href="#140">140</a></td></tr
><tr id="gr_svn114_141"><td id="141"><a href="#141">141</a></td></tr
><tr id="gr_svn114_142"><td id="142"><a href="#142">142</a></td></tr
><tr id="gr_svn114_143"><td id="143"><a href="#143">143</a></td></tr
><tr id="gr_svn114_144"><td id="144"><a href="#144">144</a></td></tr
><tr id="gr_svn114_145"><td id="145"><a href="#145">145</a></td></tr
><tr id="gr_svn114_146"><td id="146"><a href="#146">146</a></td></tr
><tr id="gr_svn114_147"><td id="147"><a href="#147">147</a></td></tr
><tr id="gr_svn114_148"><td id="148"><a href="#148">148</a></td></tr
><tr id="gr_svn114_149"><td id="149"><a href="#149">149</a></td></tr
><tr id="gr_svn114_150"><td id="150"><a href="#150">150</a></td></tr
><tr id="gr_svn114_151"><td id="151"><a href="#151">151</a></td></tr
><tr id="gr_svn114_152"><td id="152"><a href="#152">152</a></td></tr
><tr id="gr_svn114_153"><td id="153"><a href="#153">153</a></td></tr
><tr id="gr_svn114_154"><td id="154"><a href="#154">154</a></td></tr
><tr id="gr_svn114_155"><td id="155"><a href="#155">155</a></td></tr
><tr id="gr_svn114_156"><td id="156"><a href="#156">156</a></td></tr
><tr id="gr_svn114_157"><td id="157"><a href="#157">157</a></td></tr
><tr id="gr_svn114_158"><td id="158"><a href="#158">158</a></td></tr
><tr id="gr_svn114_159"><td id="159"><a href="#159">159</a></td></tr
><tr id="gr_svn114_160"><td id="160"><a href="#160">160</a></td></tr
><tr id="gr_svn114_161"><td id="161"><a href="#161">161</a></td></tr
><tr id="gr_svn114_162"><td id="162"><a href="#162">162</a></td></tr
><tr id="gr_svn114_163"><td id="163"><a href="#163">163</a></td></tr
><tr id="gr_svn114_164"><td id="164"><a href="#164">164</a></td></tr
><tr id="gr_svn114_165"><td id="165"><a href="#165">165</a></td></tr
><tr id="gr_svn114_166"><td id="166"><a href="#166">166</a></td></tr
><tr id="gr_svn114_167"><td id="167"><a href="#167">167</a></td></tr
><tr id="gr_svn114_168"><td id="168"><a href="#168">168</a></td></tr
><tr id="gr_svn114_169"><td id="169"><a href="#169">169</a></td></tr
><tr id="gr_svn114_170"><td id="170"><a href="#170">170</a></td></tr
><tr id="gr_svn114_171"><td id="171"><a href="#171">171</a></td></tr
><tr id="gr_svn114_172"><td id="172"><a href="#172">172</a></td></tr
><tr id="gr_svn114_173"><td id="173"><a href="#173">173</a></td></tr
><tr id="gr_svn114_174"><td id="174"><a href="#174">174</a></td></tr
><tr id="gr_svn114_175"><td id="175"><a href="#175">175</a></td></tr
><tr id="gr_svn114_176"><td id="176"><a href="#176">176</a></td></tr
><tr id="gr_svn114_177"><td id="177"><a href="#177">177</a></td></tr
><tr id="gr_svn114_178"><td id="178"><a href="#178">178</a></td></tr
><tr id="gr_svn114_179"><td id="179"><a href="#179">179</a></td></tr
><tr id="gr_svn114_180"><td id="180"><a href="#180">180</a></td></tr
><tr id="gr_svn114_181"><td id="181"><a href="#181">181</a></td></tr
><tr id="gr_svn114_182"><td id="182"><a href="#182">182</a></td></tr
><tr id="gr_svn114_183"><td id="183"><a href="#183">183</a></td></tr
><tr id="gr_svn114_184"><td id="184"><a href="#184">184</a></td></tr
><tr id="gr_svn114_185"><td id="185"><a href="#185">185</a></td></tr
><tr id="gr_svn114_186"><td id="186"><a href="#186">186</a></td></tr
><tr id="gr_svn114_187"><td id="187"><a href="#187">187</a></td></tr
><tr id="gr_svn114_188"><td id="188"><a href="#188">188</a></td></tr
><tr id="gr_svn114_189"><td id="189"><a href="#189">189</a></td></tr
><tr id="gr_svn114_190"><td id="190"><a href="#190">190</a></td></tr
><tr id="gr_svn114_191"><td id="191"><a href="#191">191</a></td></tr
><tr id="gr_svn114_192"><td id="192"><a href="#192">192</a></td></tr
><tr id="gr_svn114_193"><td id="193"><a href="#193">193</a></td></tr
><tr id="gr_svn114_194"><td id="194"><a href="#194">194</a></td></tr
><tr id="gr_svn114_195"><td id="195"><a href="#195">195</a></td></tr
><tr id="gr_svn114_196"><td id="196"><a href="#196">196</a></td></tr
><tr id="gr_svn114_197"><td id="197"><a href="#197">197</a></td></tr
><tr id="gr_svn114_198"><td id="198"><a href="#198">198</a></td></tr
><tr id="gr_svn114_199"><td id="199"><a href="#199">199</a></td></tr
><tr id="gr_svn114_200"><td id="200"><a href="#200">200</a></td></tr
></table></pre>

<pre><table width="100%"><tr id="gr_svn114_201"><td id="201"><a href="#201">201</a></td></tr
><tr id="gr_svn114_202"><td id="202"><a href="#202">202</a></td></tr
><tr id="gr_svn114_203"><td id="203"><a href="#203">203</a></td></tr
><tr id="gr_svn114_204"><td id="204"><a href="#204">204</a></td></tr
><tr id="gr_svn114_205"><td id="205"><a href="#205">205</a></td></tr
><tr id="gr_svn114_206"><td id="206"><a href="#206">206</a></td></tr
><tr id="gr_svn114_207"><td id="207"><a href="#207">207</a></td></tr
><tr id="gr_svn114_208"><td id="208"><a href="#208">208</a></td></tr
><tr id="gr_svn114_209"><td id="209"><a href="#209">209</a></td></tr
><tr id="gr_svn114_210"><td id="210"><a href="#210">210</a></td></tr
><tr id="gr_svn114_211"><td id="211"><a href="#211">211</a></td></tr
><tr id="gr_svn114_212"><td id="212"><a href="#212">212</a></td></tr
><tr id="gr_svn114_213"><td id="213"><a href="#213">213</a></td></tr
><tr id="gr_svn114_214"><td id="214"><a href="#214">214</a></td></tr
><tr id="gr_svn114_215"><td id="215"><a href="#215">215</a></td></tr
><tr id="gr_svn114_216"><td id="216"><a href="#216">216</a></td></tr
><tr id="gr_svn114_217"><td id="217"><a href="#217">217</a></td></tr
><tr id="gr_svn114_218"><td id="218"><a href="#218">218</a></td></tr
><tr id="gr_svn114_219"><td id="219"><a href="#219">219</a></td></tr
><tr id="gr_svn114_220"><td id="220"><a href="#220">220</a></td></tr
><tr id="gr_svn114_221"><td id="221"><a href="#221">221</a></td></tr
><tr id="gr_svn114_222"><td id="222"><a href="#222">222</a></td></tr
><tr id="gr_svn114_223"><td id="223"><a href="#223">223</a></td></tr
><tr id="gr_svn114_224"><td id="224"><a href="#224">224</a></td></tr
><tr id="gr_svn114_225"><td id="225"><a href="#225">225</a></td></tr
><tr id="gr_svn114_226"><td id="226"><a href="#226">226</a></td></tr
><tr id="gr_svn114_227"><td id="227"><a href="#227">227</a></td></tr
><tr id="gr_svn114_228"><td id="228"><a href="#228">228</a></td></tr
><tr id="gr_svn114_229"><td id="229"><a href="#229">229</a></td></tr
><tr id="gr_svn114_230"><td id="230"><a href="#230">230</a></td></tr
><tr id="gr_svn114_231"><td id="231"><a href="#231">231</a></td></tr
><tr id="gr_svn114_232"><td id="232"><a href="#232">232</a></td></tr
><tr id="gr_svn114_233"><td id="233"><a href="#233">233</a></td></tr
><tr id="gr_svn114_234"><td id="234"><a href="#234">234</a></td></tr
><tr id="gr_svn114_235"><td id="235"><a href="#235">235</a></td></tr
><tr id="gr_svn114_236"><td id="236"><a href="#236">236</a></td></tr
><tr id="gr_svn114_237"><td id="237"><a href="#237">237</a></td></tr
><tr id="gr_svn114_238"><td id="238"><a href="#238">238</a></td></tr
><tr id="gr_svn114_239"><td id="239"><a href="#239">239</a></td></tr
><tr id="gr_svn114_240"><td id="240"><a href="#240">240</a></td></tr
><tr id="gr_svn114_241"><td id="241"><a href="#241">241</a></td></tr
><tr id="gr_svn114_242"><td id="242"><a href="#242">242</a></td></tr
><tr id="gr_svn114_243"><td id="243"><a href="#243">243</a></td></tr
><tr id="gr_svn114_244"><td id="244"><a href="#244">244</a></td></tr
><tr id="gr_svn114_245"><td id="245"><a href="#245">245</a></td></tr
><tr id="gr_svn114_246"><td id="246"><a href="#246">246</a></td></tr
><tr id="gr_svn114_247"><td id="247"><a href="#247">247</a></td></tr
><tr id="gr_svn114_248"><td id="248"><a href="#248">248</a></td></tr
><tr id="gr_svn114_249"><td id="249"><a href="#249">249</a></td></tr
><tr id="gr_svn114_250"><td id="250"><a href="#250">250</a></td></tr
><tr id="gr_svn114_251"><td id="251"><a href="#251">251</a></td></tr
><tr id="gr_svn114_252"><td id="252"><a href="#252">252</a></td></tr
><tr id="gr_svn114_253"><td id="253"><a href="#253">253</a></td></tr
><tr id="gr_svn114_254"><td id="254"><a href="#254">254</a></td></tr
><tr id="gr_svn114_255"><td id="255"><a href="#255">255</a></td></tr
><tr id="gr_svn114_256"><td id="256"><a href="#256">256</a></td></tr
><tr id="gr_svn114_257"><td id="257"><a href="#257">257</a></td></tr
><tr id="gr_svn114_258"><td id="258"><a href="#258">258</a></td></tr
><tr id="gr_svn114_259"><td id="259"><a href="#259">259</a></td></tr
><tr id="gr_svn114_260"><td id="260"><a href="#260">260</a></td></tr
><tr id="gr_svn114_261"><td id="261"><a href="#261">261</a></td></tr
><tr id="gr_svn114_262"><td id="262"><a href="#262">262</a></td></tr
><tr id="gr_svn114_263"><td id="263"><a href="#263">263</a></td></tr
><tr id="gr_svn114_264"><td id="264"><a href="#264">264</a></td></tr
><tr id="gr_svn114_265"><td id="265"><a href="#265">265</a></td></tr
><tr id="gr_svn114_266"><td id="266"><a href="#266">266</a></td></tr
><tr id="gr_svn114_267"><td id="267"><a href="#267">267</a></td></tr
><tr id="gr_svn114_268"><td id="268"><a href="#268">268</a></td></tr
><tr id="gr_svn114_269"><td id="269"><a href="#269">269</a></td></tr
><tr id="gr_svn114_270"><td id="270"><a href="#270">270</a></td></tr
><tr id="gr_svn114_271"><td id="271"><a href="#271">271</a></td></tr
><tr id="gr_svn114_272"><td id="272"><a href="#272">272</a></td></tr
><tr id="gr_svn114_273"><td id="273"><a href="#273">273</a></td></tr
><tr id="gr_svn114_274"><td id="274"><a href="#274">274</a></td></tr
><tr id="gr_svn114_275"><td id="275"><a href="#275">275</a></td></tr
><tr id="gr_svn114_276"><td id="276"><a href="#276">276</a></td></tr
><tr id="gr_svn114_277"><td id="277"><a href="#277">277</a></td></tr
><tr id="gr_svn114_278"><td id="278"><a href="#278">278</a></td></tr
><tr id="gr_svn114_279"><td id="279"><a href="#279">279</a></td></tr
><tr id="gr_svn114_280"><td id="280"><a href="#280">280</a></td></tr
><tr id="gr_svn114_281"><td id="281"><a href="#281">281</a></td></tr
><tr id="gr_svn114_282"><td id="282"><a href="#282">282</a></td></tr
><tr id="gr_svn114_283"><td id="283"><a href="#283">283</a></td></tr
><tr id="gr_svn114_284"><td id="284"><a href="#284">284</a></td></tr
><tr id="gr_svn114_285"><td id="285"><a href="#285">285</a></td></tr
><tr id="gr_svn114_286"><td id="286"><a href="#286">286</a></td></tr
><tr id="gr_svn114_287"><td id="287"><a href="#287">287</a></td></tr
><tr id="gr_svn114_288"><td id="288"><a href="#288">288</a></td></tr
><tr id="gr_svn114_289"><td id="289"><a href="#289">289</a></td></tr
><tr id="gr_svn114_290"><td id="290"><a href="#290">290</a></td></tr
><tr id="gr_svn114_291"><td id="291"><a href="#291">291</a></td></tr
><tr id="gr_svn114_292"><td id="292"><a href="#292">292</a></td></tr
><tr id="gr_svn114_293"><td id="293"><a href="#293">293</a></td></tr
><tr id="gr_svn114_294"><td id="294"><a href="#294">294</a></td></tr
><tr id="gr_svn114_295"><td id="295"><a href="#295">295</a></td></tr
><tr id="gr_svn114_296"><td id="296"><a href="#296">296</a></td></tr
><tr id="gr_svn114_297"><td id="297"><a href="#297">297</a></td></tr
><tr id="gr_svn114_298"><td id="298"><a href="#298">298</a></td></tr
><tr id="gr_svn114_299"><td id="299"><a href="#299">299</a></td></tr
><tr id="gr_svn114_300"><td id="300"><a href="#300">300</a></td></tr
><tr id="gr_svn114_301"><td id="301"><a href="#301">301</a></td></tr
><tr id="gr_svn114_302"><td id="302"><a href="#302">302</a></td></tr
><tr id="gr_svn114_303"><td id="303"><a href="#303">303</a></td></tr
><tr id="gr_svn114_304"><td id="304"><a href="#304">304</a></td></tr
><tr id="gr_svn114_305"><td id="305"><a href="#305">305</a></td></tr
><tr id="gr_svn114_306"><td id="306"><a href="#306">306</a></td></tr
><tr id="gr_svn114_307"><td id="307"><a href="#307">307</a></td></tr
><tr id="gr_svn114_308"><td id="308"><a href="#308">308</a></td></tr
><tr id="gr_svn114_309"><td id="309"><a href="#309">309</a></td></tr
><tr id="gr_svn114_310"><td id="310"><a href="#310">310</a></td></tr
><tr id="gr_svn114_311"><td id="311"><a href="#311">311</a></td></tr
><tr id="gr_svn114_312"><td id="312"><a href="#312">312</a></td></tr
><tr id="gr_svn114_313"><td id="313"><a href="#313">313</a></td></tr
><tr id="gr_svn114_314"><td id="314"><a href="#314">314</a></td></tr
><tr id="gr_svn114_315"><td id="315"><a href="#315">315</a></td></tr
><tr id="gr_svn114_316"><td id="316"><a href="#316">316</a></td></tr
><tr id="gr_svn114_317"><td id="317"><a href="#317">317</a></td></tr
><tr id="gr_svn114_318"><td id="318"><a href="#318">318</a></td></tr
><tr id="gr_svn114_319"><td id="319"><a href="#319">319</a></td></tr
><tr id="gr_svn114_320"><td id="320"><a href="#320">320</a></td></tr
><tr id="gr_svn114_321"><td id="321"><a href="#321">321</a></td></tr
><tr id="gr_svn114_322"><td id="322"><a href="#322">322</a></td></tr
><tr id="gr_svn114_323"><td id="323"><a href="#323">323</a></td></tr
><tr id="gr_svn114_324"><td id="324"><a href="#324">324</a></td></tr
><tr id="gr_svn114_325"><td id="325"><a href="#325">325</a></td></tr
><tr id="gr_svn114_326"><td id="326"><a href="#326">326</a></td></tr
><tr id="gr_svn114_327"><td id="327"><a href="#327">327</a></td></tr
><tr id="gr_svn114_328"><td id="328"><a href="#328">328</a></td></tr
><tr id="gr_svn114_329"><td id="329"><a href="#329">329</a></td></tr
><tr id="gr_svn114_330"><td id="330"><a href="#330">330</a></td></tr
><tr id="gr_svn114_331"><td id="331"><a href="#331">331</a></td></tr
><tr id="gr_svn114_332"><td id="332"><a href="#332">332</a></td></tr
><tr id="gr_svn114_333"><td id="333"><a href="#333">333</a></td></tr
><tr id="gr_svn114_334"><td id="334"><a href="#334">334</a></td></tr
><tr id="gr_svn114_335"><td id="335"><a href="#335">335</a></td></tr
><tr id="gr_svn114_336"><td id="336"><a href="#336">336</a></td></tr
><tr id="gr_svn114_337"><td id="337"><a href="#337">337</a></td></tr
><tr id="gr_svn114_338"><td id="338"><a href="#338">338</a></td></tr
><tr id="gr_svn114_339"><td id="339"><a href="#339">339</a></td></tr
><tr id="gr_svn114_340"><td id="340"><a href="#340">340</a></td></tr
><tr id="gr_svn114_341"><td id="341"><a href="#341">341</a></td></tr
><tr id="gr_svn114_342"><td id="342"><a href="#342">342</a></td></tr
><tr id="gr_svn114_343"><td id="343"><a href="#343">343</a></td></tr
><tr id="gr_svn114_344"><td id="344"><a href="#344">344</a></td></tr
><tr id="gr_svn114_345"><td id="345"><a href="#345">345</a></td></tr
><tr id="gr_svn114_346"><td id="346"><a href="#346">346</a></td></tr
><tr id="gr_svn114_347"><td id="347"><a href="#347">347</a></td></tr
><tr id="gr_svn114_348"><td id="348"><a href="#348">348</a></td></tr
><tr id="gr_svn114_349"><td id="349"><a href="#349">349</a></td></tr
><tr id="gr_svn114_350"><td id="350"><a href="#350">350</a></td></tr
><tr id="gr_svn114_351"><td id="351"><a href="#351">351</a></td></tr
><tr id="gr_svn114_352"><td id="352"><a href="#352">352</a></td></tr
><tr id="gr_svn114_353"><td id="353"><a href="#353">353</a></td></tr
><tr id="gr_svn114_354"><td id="354"><a href="#354">354</a></td></tr
><tr id="gr_svn114_355"><td id="355"><a href="#355">355</a></td></tr
><tr id="gr_svn114_356"><td id="356"><a href="#356">356</a></td></tr
><tr id="gr_svn114_357"><td id="357"><a href="#357">357</a></td></tr
><tr id="gr_svn114_358"><td id="358"><a href="#358">358</a></td></tr
><tr id="gr_svn114_359"><td id="359"><a href="#359">359</a></td></tr
><tr id="gr_svn114_360"><td id="360"><a href="#360">360</a></td></tr
><tr id="gr_svn114_361"><td id="361"><a href="#361">361</a></td></tr
><tr id="gr_svn114_362"><td id="362"><a href="#362">362</a></td></tr
><tr id="gr_svn114_363"><td id="363"><a href="#363">363</a></td></tr
><tr id="gr_svn114_364"><td id="364"><a href="#364">364</a></td></tr
><tr id="gr_svn114_365"><td id="365"><a href="#365">365</a></td></tr
><tr id="gr_svn114_366"><td id="366"><a href="#366">366</a></td></tr
><tr id="gr_svn114_367"><td id="367"><a href="#367">367</a></td></tr
><tr id="gr_svn114_368"><td id="368"><a href="#368">368</a></td></tr
><tr id="gr_svn114_369"><td id="369"><a href="#369">369</a></td></tr
><tr id="gr_svn114_370"><td id="370"><a href="#370">370</a></td></tr
><tr id="gr_svn114_371"><td id="371"><a href="#371">371</a></td></tr
><tr id="gr_svn114_372"><td id="372"><a href="#372">372</a></td></tr
><tr id="gr_svn114_373"><td id="373"><a href="#373">373</a></td></tr
><tr id="gr_svn114_374"><td id="374"><a href="#374">374</a></td></tr
><tr id="gr_svn114_375"><td id="375"><a href="#375">375</a></td></tr
><tr id="gr_svn114_376"><td id="376"><a href="#376">376</a></td></tr
><tr id="gr_svn114_377"><td id="377"><a href="#377">377</a></td></tr
><tr id="gr_svn114_378"><td id="378"><a href="#378">378</a></td></tr
><tr id="gr_svn114_379"><td id="379"><a href="#379">379</a></td></tr
><tr id="gr_svn114_380"><td id="380"><a href="#380">380</a></td></tr
><tr id="gr_svn114_381"><td id="381"><a href="#381">381</a></td></tr
><tr id="gr_svn114_382"><td id="382"><a href="#382">382</a></td></tr
><tr id="gr_svn114_383"><td id="383"><a href="#383">383</a></td></tr
><tr id="gr_svn114_384"><td id="384"><a href="#384">384</a></td></tr
><tr id="gr_svn114_385"><td id="385"><a href="#385">385</a></td></tr
><tr id="gr_svn114_386"><td id="386"><a href="#386">386</a></td></tr
><tr id="gr_svn114_387"><td id="387"><a href="#387">387</a></td></tr
><tr id="gr_svn114_388"><td id="388"><a href="#388">388</a></td></tr
><tr id="gr_svn114_389"><td id="389"><a href="#389">389</a></td></tr
><tr id="gr_svn114_390"><td id="390"><a href="#390">390</a></td></tr
><tr id="gr_svn114_391"><td id="391"><a href="#391">391</a></td></tr
><tr id="gr_svn114_392"><td id="392"><a href="#392">392</a></td></tr
><tr id="gr_svn114_393"><td id="393"><a href="#393">393</a></td></tr
><tr id="gr_svn114_394"><td id="394"><a href="#394">394</a></td></tr
><tr id="gr_svn114_395"><td id="395"><a href="#395">395</a></td></tr
><tr id="gr_svn114_396"><td id="396"><a href="#396">396</a></td></tr
><tr id="gr_svn114_397"><td id="397"><a href="#397">397</a></td></tr
><tr id="gr_svn114_398"><td id="398"><a href="#398">398</a></td></tr
><tr id="gr_svn114_399"><td id="399"><a href="#399">399</a></td></tr
><tr id="gr_svn114_400"><td id="400"><a href="#400">400</a></td></tr
><tr id="gr_svn114_401"><td id="401"><a href="#401">401</a></td></tr
><tr id="gr_svn114_402"><td id="402"><a href="#402">402</a></td></tr
><tr id="gr_svn114_403"><td id="403"><a href="#403">403</a></td></tr
><tr id="gr_svn114_404"><td id="404"><a href="#404">404</a></td></tr
><tr id="gr_svn114_405"><td id="405"><a href="#405">405</a></td></tr
><tr id="gr_svn114_406"><td id="406"><a href="#406">406</a></td></tr
><tr id="gr_svn114_407"><td id="407"><a href="#407">407</a></td></tr
><tr id="gr_svn114_408"><td id="408"><a href="#408">408</a></td></tr
><tr id="gr_svn114_409"><td id="409"><a href="#409">409</a></td></tr
><tr id="gr_svn114_410"><td id="410"><a href="#410">410</a></td></tr
><tr id="gr_svn114_411"><td id="411"><a href="#411">411</a></td></tr
><tr id="gr_svn114_412"><td id="412"><a href="#412">412</a></td></tr
><tr id="gr_svn114_413"><td id="413"><a href="#413">413</a></td></tr
><tr id="gr_svn114_414"><td id="414"><a href="#414">414</a></td></tr
><tr id="gr_svn114_415"><td id="415"><a href="#415">415</a></td></tr
><tr id="gr_svn114_416"><td id="416"><a href="#416">416</a></td></tr
><tr id="gr_svn114_417"><td id="417"><a href="#417">417</a></td></tr
><tr id="gr_svn114_418"><td id="418"><a href="#418">418</a></td></tr
><tr id="gr_svn114_419"><td id="419"><a href="#419">419</a></td></tr
><tr id="gr_svn114_420"><td id="420"><a href="#420">420</a></td></tr
><tr id="gr_svn114_421"><td id="421"><a href="#421">421</a></td></tr
><tr id="gr_svn114_422"><td id="422"><a href="#422">422</a></td></tr
><tr id="gr_svn114_423"><td id="423"><a href="#423">423</a></td></tr
><tr id="gr_svn114_424"><td id="424"><a href="#424">424</a></td></tr
><tr id="gr_svn114_425"><td id="425"><a href="#425">425</a></td></tr
><tr id="gr_svn114_426"><td id="426"><a href="#426">426</a></td></tr
><tr id="gr_svn114_427"><td id="427"><a href="#427">427</a></td></tr
><tr id="gr_svn114_428"><td id="428"><a href="#428">428</a></td></tr
><tr id="gr_svn114_429"><td id="429"><a href="#429">429</a></td></tr
><tr id="gr_svn114_430"><td id="430"><a href="#430">430</a></td></tr
><tr id="gr_svn114_431"><td id="431"><a href="#431">431</a></td></tr
><tr id="gr_svn114_432"><td id="432"><a href="#432">432</a></td></tr
><tr id="gr_svn114_433"><td id="433"><a href="#433">433</a></td></tr
><tr id="gr_svn114_434"><td id="434"><a href="#434">434</a></td></tr
></table></pre>

<pre><table width="100%"><tr id="gr_svn114_435"><td id="435"><a href="#435">435</a></td></tr
><tr id="gr_svn114_436"><td id="436"><a href="#436">436</a></td></tr
><tr id="gr_svn114_437"><td id="437"><a href="#437">437</a></td></tr
><tr id="gr_svn114_438"><td id="438"><a href="#438">438</a></td></tr
><tr id="gr_svn114_439"><td id="439"><a href="#439">439</a></td></tr
><tr id="gr_svn114_440"><td id="440"><a href="#440">440</a></td></tr
><tr id="gr_svn114_441"><td id="441"><a href="#441">441</a></td></tr
><tr id="gr_svn114_442"><td id="442"><a href="#442">442</a></td></tr
><tr id="gr_svn114_443"><td id="443"><a href="#443">443</a></td></tr
><tr id="gr_svn114_444"><td id="444"><a href="#444">444</a></td></tr
><tr id="gr_svn114_445"><td id="445"><a href="#445">445</a></td></tr
><tr id="gr_svn114_446"><td id="446"><a href="#446">446</a></td></tr
><tr id="gr_svn114_447"><td id="447"><a href="#447">447</a></td></tr
><tr id="gr_svn114_448"><td id="448"><a href="#448">448</a></td></tr
><tr id="gr_svn114_449"><td id="449"><a href="#449">449</a></td></tr
><tr id="gr_svn114_450"><td id="450"><a href="#450">450</a></td></tr
><tr id="gr_svn114_451"><td id="451"><a href="#451">451</a></td></tr
><tr id="gr_svn114_452"><td id="452"><a href="#452">452</a></td></tr
><tr id="gr_svn114_453"><td id="453"><a href="#453">453</a></td></tr
><tr id="gr_svn114_454"><td id="454"><a href="#454">454</a></td></tr
><tr id="gr_svn114_455"><td id="455"><a href="#455">455</a></td></tr
><tr id="gr_svn114_456"><td id="456"><a href="#456">456</a></td></tr
><tr id="gr_svn114_457"><td id="457"><a href="#457">457</a></td></tr
><tr id="gr_svn114_458"><td id="458"><a href="#458">458</a></td></tr
><tr id="gr_svn114_459"><td id="459"><a href="#459">459</a></td></tr
><tr id="gr_svn114_460"><td id="460"><a href="#460">460</a></td></tr
><tr id="gr_svn114_461"><td id="461"><a href="#461">461</a></td></tr
><tr id="gr_svn114_462"><td id="462"><a href="#462">462</a></td></tr
><tr id="gr_svn114_463"><td id="463"><a href="#463">463</a></td></tr
><tr id="gr_svn114_464"><td id="464"><a href="#464">464</a></td></tr
><tr id="gr_svn114_465"><td id="465"><a href="#465">465</a></td></tr
><tr id="gr_svn114_466"><td id="466"><a href="#466">466</a></td></tr
><tr id="gr_svn114_467"><td id="467"><a href="#467">467</a></td></tr
><tr id="gr_svn114_468"><td id="468"><a href="#468">468</a></td></tr
><tr id="gr_svn114_469"><td id="469"><a href="#469">469</a></td></tr
><tr id="gr_svn114_470"><td id="470"><a href="#470">470</a></td></tr
><tr id="gr_svn114_471"><td id="471"><a href="#471">471</a></td></tr
><tr id="gr_svn114_472"><td id="472"><a href="#472">472</a></td></tr
><tr id="gr_svn114_473"><td id="473"><a href="#473">473</a></td></tr
><tr id="gr_svn114_474"><td id="474"><a href="#474">474</a></td></tr
><tr id="gr_svn114_475"><td id="475"><a href="#475">475</a></td></tr
><tr id="gr_svn114_476"><td id="476"><a href="#476">476</a></td></tr
><tr id="gr_svn114_477"><td id="477"><a href="#477">477</a></td></tr
><tr id="gr_svn114_478"><td id="478"><a href="#478">478</a></td></tr
><tr id="gr_svn114_479"><td id="479"><a href="#479">479</a></td></tr
><tr id="gr_svn114_480"><td id="480"><a href="#480">480</a></td></tr
><tr id="gr_svn114_481"><td id="481"><a href="#481">481</a></td></tr
><tr id="gr_svn114_482"><td id="482"><a href="#482">482</a></td></tr
><tr id="gr_svn114_483"><td id="483"><a href="#483">483</a></td></tr
><tr id="gr_svn114_484"><td id="484"><a href="#484">484</a></td></tr
><tr id="gr_svn114_485"><td id="485"><a href="#485">485</a></td></tr
><tr id="gr_svn114_486"><td id="486"><a href="#486">486</a></td></tr
><tr id="gr_svn114_487"><td id="487"><a href="#487">487</a></td></tr
><tr id="gr_svn114_488"><td id="488"><a href="#488">488</a></td></tr
><tr id="gr_svn114_489"><td id="489"><a href="#489">489</a></td></tr
><tr id="gr_svn114_490"><td id="490"><a href="#490">490</a></td></tr
><tr id="gr_svn114_491"><td id="491"><a href="#491">491</a></td></tr
><tr id="gr_svn114_492"><td id="492"><a href="#492">492</a></td></tr
><tr id="gr_svn114_493"><td id="493"><a href="#493">493</a></td></tr
><tr id="gr_svn114_494"><td id="494"><a href="#494">494</a></td></tr
><tr id="gr_svn114_495"><td id="495"><a href="#495">495</a></td></tr
><tr id="gr_svn114_496"><td id="496"><a href="#496">496</a></td></tr
><tr id="gr_svn114_497"><td id="497"><a href="#497">497</a></td></tr
><tr id="gr_svn114_498"><td id="498"><a href="#498">498</a></td></tr
><tr id="gr_svn114_499"><td id="499"><a href="#499">499</a></td></tr
><tr id="gr_svn114_500"><td id="500"><a href="#500">500</a></td></tr
><tr id="gr_svn114_501"><td id="501"><a href="#501">501</a></td></tr
><tr id="gr_svn114_502"><td id="502"><a href="#502">502</a></td></tr
><tr id="gr_svn114_503"><td id="503"><a href="#503">503</a></td></tr
><tr id="gr_svn114_504"><td id="504"><a href="#504">504</a></td></tr
><tr id="gr_svn114_505"><td id="505"><a href="#505">505</a></td></tr
><tr id="gr_svn114_506"><td id="506"><a href="#506">506</a></td></tr
><tr id="gr_svn114_507"><td id="507"><a href="#507">507</a></td></tr
><tr id="gr_svn114_508"><td id="508"><a href="#508">508</a></td></tr
><tr id="gr_svn114_509"><td id="509"><a href="#509">509</a></td></tr
><tr id="gr_svn114_510"><td id="510"><a href="#510">510</a></td></tr
><tr id="gr_svn114_511"><td id="511"><a href="#511">511</a></td></tr
><tr id="gr_svn114_512"><td id="512"><a href="#512">512</a></td></tr
><tr id="gr_svn114_513"><td id="513"><a href="#513">513</a></td></tr
><tr id="gr_svn114_514"><td id="514"><a href="#514">514</a></td></tr
><tr id="gr_svn114_515"><td id="515"><a href="#515">515</a></td></tr
><tr id="gr_svn114_516"><td id="516"><a href="#516">516</a></td></tr
><tr id="gr_svn114_517"><td id="517"><a href="#517">517</a></td></tr
><tr id="gr_svn114_518"><td id="518"><a href="#518">518</a></td></tr
><tr id="gr_svn114_519"><td id="519"><a href="#519">519</a></td></tr
><tr id="gr_svn114_520"><td id="520"><a href="#520">520</a></td></tr
><tr id="gr_svn114_521"><td id="521"><a href="#521">521</a></td></tr
><tr id="gr_svn114_522"><td id="522"><a href="#522">522</a></td></tr
><tr id="gr_svn114_523"><td id="523"><a href="#523">523</a></td></tr
><tr id="gr_svn114_524"><td id="524"><a href="#524">524</a></td></tr
><tr id="gr_svn114_525"><td id="525"><a href="#525">525</a></td></tr
><tr id="gr_svn114_526"><td id="526"><a href="#526">526</a></td></tr
><tr id="gr_svn114_527"><td id="527"><a href="#527">527</a></td></tr
><tr id="gr_svn114_528"><td id="528"><a href="#528">528</a></td></tr
><tr id="gr_svn114_529"><td id="529"><a href="#529">529</a></td></tr
><tr id="gr_svn114_530"><td id="530"><a href="#530">530</a></td></tr
><tr id="gr_svn114_531"><td id="531"><a href="#531">531</a></td></tr
><tr id="gr_svn114_532"><td id="532"><a href="#532">532</a></td></tr
><tr id="gr_svn114_533"><td id="533"><a href="#533">533</a></td></tr
><tr id="gr_svn114_534"><td id="534"><a href="#534">534</a></td></tr
><tr id="gr_svn114_535"><td id="535"><a href="#535">535</a></td></tr
><tr id="gr_svn114_536"><td id="536"><a href="#536">536</a></td></tr
><tr id="gr_svn114_537"><td id="537"><a href="#537">537</a></td></tr
><tr id="gr_svn114_538"><td id="538"><a href="#538">538</a></td></tr
><tr id="gr_svn114_539"><td id="539"><a href="#539">539</a></td></tr
><tr id="gr_svn114_540"><td id="540"><a href="#540">540</a></td></tr
><tr id="gr_svn114_541"><td id="541"><a href="#541">541</a></td></tr
><tr id="gr_svn114_542"><td id="542"><a href="#542">542</a></td></tr
><tr id="gr_svn114_543"><td id="543"><a href="#543">543</a></td></tr
><tr id="gr_svn114_544"><td id="544"><a href="#544">544</a></td></tr
><tr id="gr_svn114_545"><td id="545"><a href="#545">545</a></td></tr
><tr id="gr_svn114_546"><td id="546"><a href="#546">546</a></td></tr
><tr id="gr_svn114_547"><td id="547"><a href="#547">547</a></td></tr
><tr id="gr_svn114_548"><td id="548"><a href="#548">548</a></td></tr
><tr id="gr_svn114_549"><td id="549"><a href="#549">549</a></td></tr
><tr id="gr_svn114_550"><td id="550"><a href="#550">550</a></td></tr
><tr id="gr_svn114_551"><td id="551"><a href="#551">551</a></td></tr
><tr id="gr_svn114_552"><td id="552"><a href="#552">552</a></td></tr
><tr id="gr_svn114_553"><td id="553"><a href="#553">553</a></td></tr
><tr id="gr_svn114_554"><td id="554"><a href="#554">554</a></td></tr
><tr id="gr_svn114_555"><td id="555"><a href="#555">555</a></td></tr
><tr id="gr_svn114_556"><td id="556"><a href="#556">556</a></td></tr
><tr id="gr_svn114_557"><td id="557"><a href="#557">557</a></td></tr
><tr id="gr_svn114_558"><td id="558"><a href="#558">558</a></td></tr
><tr id="gr_svn114_559"><td id="559"><a href="#559">559</a></td></tr
><tr id="gr_svn114_560"><td id="560"><a href="#560">560</a></td></tr
><tr id="gr_svn114_561"><td id="561"><a href="#561">561</a></td></tr
><tr id="gr_svn114_562"><td id="562"><a href="#562">562</a></td></tr
><tr id="gr_svn114_563"><td id="563"><a href="#563">563</a></td></tr
><tr id="gr_svn114_564"><td id="564"><a href="#564">564</a></td></tr
><tr id="gr_svn114_565"><td id="565"><a href="#565">565</a></td></tr
><tr id="gr_svn114_566"><td id="566"><a href="#566">566</a></td></tr
><tr id="gr_svn114_567"><td id="567"><a href="#567">567</a></td></tr
><tr id="gr_svn114_568"><td id="568"><a href="#568">568</a></td></tr
><tr id="gr_svn114_569"><td id="569"><a href="#569">569</a></td></tr
><tr id="gr_svn114_570"><td id="570"><a href="#570">570</a></td></tr
><tr id="gr_svn114_571"><td id="571"><a href="#571">571</a></td></tr
><tr id="gr_svn114_572"><td id="572"><a href="#572">572</a></td></tr
><tr id="gr_svn114_573"><td id="573"><a href="#573">573</a></td></tr
><tr id="gr_svn114_574"><td id="574"><a href="#574">574</a></td></tr
><tr id="gr_svn114_575"><td id="575"><a href="#575">575</a></td></tr
><tr id="gr_svn114_576"><td id="576"><a href="#576">576</a></td></tr
><tr id="gr_svn114_577"><td id="577"><a href="#577">577</a></td></tr
><tr id="gr_svn114_578"><td id="578"><a href="#578">578</a></td></tr
><tr id="gr_svn114_579"><td id="579"><a href="#579">579</a></td></tr
><tr id="gr_svn114_580"><td id="580"><a href="#580">580</a></td></tr
><tr id="gr_svn114_581"><td id="581"><a href="#581">581</a></td></tr
><tr id="gr_svn114_582"><td id="582"><a href="#582">582</a></td></tr
><tr id="gr_svn114_583"><td id="583"><a href="#583">583</a></td></tr
><tr id="gr_svn114_584"><td id="584"><a href="#584">584</a></td></tr
><tr id="gr_svn114_585"><td id="585"><a href="#585">585</a></td></tr
><tr id="gr_svn114_586"><td id="586"><a href="#586">586</a></td></tr
><tr id="gr_svn114_587"><td id="587"><a href="#587">587</a></td></tr
><tr id="gr_svn114_588"><td id="588"><a href="#588">588</a></td></tr
><tr id="gr_svn114_589"><td id="589"><a href="#589">589</a></td></tr
><tr id="gr_svn114_590"><td id="590"><a href="#590">590</a></td></tr
><tr id="gr_svn114_591"><td id="591"><a href="#591">591</a></td></tr
><tr id="gr_svn114_592"><td id="592"><a href="#592">592</a></td></tr
><tr id="gr_svn114_593"><td id="593"><a href="#593">593</a></td></tr
><tr id="gr_svn114_594"><td id="594"><a href="#594">594</a></td></tr
><tr id="gr_svn114_595"><td id="595"><a href="#595">595</a></td></tr
><tr id="gr_svn114_596"><td id="596"><a href="#596">596</a></td></tr
><tr id="gr_svn114_597"><td id="597"><a href="#597">597</a></td></tr
><tr id="gr_svn114_598"><td id="598"><a href="#598">598</a></td></tr
><tr id="gr_svn114_599"><td id="599"><a href="#599">599</a></td></tr
><tr id="gr_svn114_600"><td id="600"><a href="#600">600</a></td></tr
><tr id="gr_svn114_601"><td id="601"><a href="#601">601</a></td></tr
><tr id="gr_svn114_602"><td id="602"><a href="#602">602</a></td></tr
><tr id="gr_svn114_603"><td id="603"><a href="#603">603</a></td></tr
><tr id="gr_svn114_604"><td id="604"><a href="#604">604</a></td></tr
><tr id="gr_svn114_605"><td id="605"><a href="#605">605</a></td></tr
><tr id="gr_svn114_606"><td id="606"><a href="#606">606</a></td></tr
><tr id="gr_svn114_607"><td id="607"><a href="#607">607</a></td></tr
><tr id="gr_svn114_608"><td id="608"><a href="#608">608</a></td></tr
><tr id="gr_svn114_609"><td id="609"><a href="#609">609</a></td></tr
><tr id="gr_svn114_610"><td id="610"><a href="#610">610</a></td></tr
><tr id="gr_svn114_611"><td id="611"><a href="#611">611</a></td></tr
><tr id="gr_svn114_612"><td id="612"><a href="#612">612</a></td></tr
><tr id="gr_svn114_613"><td id="613"><a href="#613">613</a></td></tr
><tr id="gr_svn114_614"><td id="614"><a href="#614">614</a></td></tr
><tr id="gr_svn114_615"><td id="615"><a href="#615">615</a></td></tr
><tr id="gr_svn114_616"><td id="616"><a href="#616">616</a></td></tr
><tr id="gr_svn114_617"><td id="617"><a href="#617">617</a></td></tr
><tr id="gr_svn114_618"><td id="618"><a href="#618">618</a></td></tr
><tr id="gr_svn114_619"><td id="619"><a href="#619">619</a></td></tr
><tr id="gr_svn114_620"><td id="620"><a href="#620">620</a></td></tr
><tr id="gr_svn114_621"><td id="621"><a href="#621">621</a></td></tr
><tr id="gr_svn114_622"><td id="622"><a href="#622">622</a></td></tr
><tr id="gr_svn114_623"><td id="623"><a href="#623">623</a></td></tr
><tr id="gr_svn114_624"><td id="624"><a href="#624">624</a></td></tr
><tr id="gr_svn114_625"><td id="625"><a href="#625">625</a></td></tr
><tr id="gr_svn114_626"><td id="626"><a href="#626">626</a></td></tr
><tr id="gr_svn114_627"><td id="627"><a href="#627">627</a></td></tr
><tr id="gr_svn114_628"><td id="628"><a href="#628">628</a></td></tr
><tr id="gr_svn114_629"><td id="629"><a href="#629">629</a></td></tr
><tr id="gr_svn114_630"><td id="630"><a href="#630">630</a></td></tr
><tr id="gr_svn114_631"><td id="631"><a href="#631">631</a></td></tr
><tr id="gr_svn114_632"><td id="632"><a href="#632">632</a></td></tr
><tr id="gr_svn114_633"><td id="633"><a href="#633">633</a></td></tr
><tr id="gr_svn114_634"><td id="634"><a href="#634">634</a></td></tr
></table></pre>

<pre><table width="100%"><tr class="nocursor"><td></td></tr></table></pre>
</td>
<td id="lines">
<pre class="prettyprint"><table width="100%"><tr class="cursor_stop cursor_hidden"><td></td></tr></table></pre>

<pre class="prettyprint lang-js"><table><tr
id=sl_svn114_1><td class="source">/*<br></td></tr
><tr
id=sl_svn114_2><td class="source"><br></td></tr
><tr
id=sl_svn114_3><td class="source">            _/    _/_/    _/_/_/_/_/                              _/       <br></td></tr
><tr
id=sl_svn114_4><td class="source">               _/    _/      _/      _/_/    _/    _/    _/_/_/  _/_/_/    <br></td></tr
><tr
id=sl_svn114_5><td class="source">          _/  _/  _/_/      _/    _/    _/  _/    _/  _/        _/    _/   <br></td></tr
><tr
id=sl_svn114_6><td class="source">         _/  _/    _/      _/    _/    _/  _/    _/  _/        _/    _/    <br></td></tr
><tr
id=sl_svn114_7><td class="source">        _/    _/_/  _/    _/      _/_/      _/_/_/    _/_/_/  _/    _/     <br></td></tr
><tr
id=sl_svn114_8><td class="source">       _/                                                                  <br></td></tr
><tr
id=sl_svn114_9><td class="source">    _/<br></td></tr
><tr
id=sl_svn114_10><td class="source"><br></td></tr
><tr
id=sl_svn114_11><td class="source">    Created by David Kaneda &lt;http://www.davidkaneda.com&gt;<br></td></tr
><tr
id=sl_svn114_12><td class="source">    Documentation and issue tracking on Google Code &lt;http://code.google.com/p/jqtouch/&gt;<br></td></tr
><tr
id=sl_svn114_13><td class="source">    <br></td></tr
><tr
id=sl_svn114_14><td class="source">    Special thanks to Jonathan Stark &lt;http://jonathanstark.com/&gt;<br></td></tr
><tr
id=sl_svn114_15><td class="source">    and pinch/zoom &lt;http://www.pinchzoom.com/&gt;<br></td></tr
><tr
id=sl_svn114_16><td class="source">    <br></td></tr
><tr
id=sl_svn114_17><td class="source">    (c) 2009 by jQTouch project members.<br></td></tr
><tr
id=sl_svn114_18><td class="source">    See LICENSE.txt for license.<br></td></tr
><tr
id=sl_svn114_19><td class="source">    <br></td></tr
><tr
id=sl_svn114_20><td class="source">    $Revision$<br></td></tr
><tr
id=sl_svn114_21><td class="source">    $Date$<br></td></tr
><tr
id=sl_svn114_22><td class="source">    $LastChangedBy$<br></td></tr
><tr
id=sl_svn114_23><td class="source"><br></td></tr
><tr
id=sl_svn114_24><td class="source">*/<br></td></tr
><tr
id=sl_svn114_25><td class="source"><br></td></tr
><tr
id=sl_svn114_26><td class="source">(function($) {<br></td></tr
><tr
id=sl_svn114_27><td class="source">    $.jQTouch = function(options) {<br></td></tr
><tr
id=sl_svn114_28><td class="source">        <br></td></tr
><tr
id=sl_svn114_29><td class="source">        // Set support values<br></td></tr
><tr
id=sl_svn114_30><td class="source">        $.support.WebKitCSSMatrix = (typeof WebKitCSSMatrix == &quot;object&quot;);<br></td></tr
><tr
id=sl_svn114_31><td class="source">        $.support.touch = (typeof Touch == &quot;object&quot;);<br></td></tr
><tr
id=sl_svn114_32><td class="source">        $.support.WebKitAnimationEvent = (typeof WebKitTransitionEvent == &quot;object&quot;);<br></td></tr
><tr
id=sl_svn114_33><td class="source">        <br></td></tr
><tr
id=sl_svn114_34><td class="source">        // Initialize internal variables<br></td></tr
><tr
id=sl_svn114_35><td class="source">        var $body, <br></td></tr
><tr
id=sl_svn114_36><td class="source">            $head=$(&#39;head&#39;), <br></td></tr
><tr
id=sl_svn114_37><td class="source">            hist=[], <br></td></tr
><tr
id=sl_svn114_38><td class="source">            newPageCount=0, <br></td></tr
><tr
id=sl_svn114_39><td class="source">            jQTSettings={}, <br></td></tr
><tr
id=sl_svn114_40><td class="source">            hashCheck, <br></td></tr
><tr
id=sl_svn114_41><td class="source">            currentPage, <br></td></tr
><tr
id=sl_svn114_42><td class="source">            orientation, <br></td></tr
><tr
id=sl_svn114_43><td class="source">            isMobileWebKit = RegExp(&quot; Mobile/&quot;).test(navigator.userAgent), <br></td></tr
><tr
id=sl_svn114_44><td class="source">            tapReady=true,<br></td></tr
><tr
id=sl_svn114_45><td class="source">            lastAnimationTime=0,<br></td></tr
><tr
id=sl_svn114_46><td class="source">            touchSelectors=[],<br></td></tr
><tr
id=sl_svn114_47><td class="source">            publicObj={},<br></td></tr
><tr
id=sl_svn114_48><td class="source">            extensions=$.jQTouch.prototype.extensions,<br></td></tr
><tr
id=sl_svn114_49><td class="source">            defaultAnimations=[&#39;slide&#39;,&#39;flip&#39;,&#39;slideup&#39;,&#39;swap&#39;,&#39;cube&#39;,&#39;pop&#39;,&#39;dissolve&#39;,&#39;fade&#39;,&#39;back&#39;], <br></td></tr
><tr
id=sl_svn114_50><td class="source">            animations=[], <br></td></tr
><tr
id=sl_svn114_51><td class="source">            hairextensions=&#39;&#39;;<br></td></tr
><tr
id=sl_svn114_52><td class="source"><br></td></tr
><tr
id=sl_svn114_53><td class="source">        // Get the party started<br></td></tr
><tr
id=sl_svn114_54><td class="source">        init(options);<br></td></tr
><tr
id=sl_svn114_55><td class="source"><br></td></tr
><tr
id=sl_svn114_56><td class="source">        function init(options) {<br></td></tr
><tr
id=sl_svn114_57><td class="source">            <br></td></tr
><tr
id=sl_svn114_58><td class="source">            var defaults = {<br></td></tr
><tr
id=sl_svn114_59><td class="source">                addGlossToIcon: true,<br></td></tr
><tr
id=sl_svn114_60><td class="source">                backSelector: &#39;.back, .cancel, .goback&#39;,<br></td></tr
><tr
id=sl_svn114_61><td class="source">                cacheGetRequests: true,<br></td></tr
><tr
id=sl_svn114_62><td class="source">                cubeSelector: &#39;.cube&#39;,<br></td></tr
><tr
id=sl_svn114_63><td class="source">                dissolveSelector: &#39;.dissolve&#39;,<br></td></tr
><tr
id=sl_svn114_64><td class="source">                fadeSelector: &#39;.fade&#39;,<br></td></tr
><tr
id=sl_svn114_65><td class="source">                fixedViewport: true,<br></td></tr
><tr
id=sl_svn114_66><td class="source">                flipSelector: &#39;.flip&#39;,<br></td></tr
><tr
id=sl_svn114_67><td class="source">                formSelector: &#39;form&#39;,<br></td></tr
><tr
id=sl_svn114_68><td class="source">                fullScreen: true,<br></td></tr
><tr
id=sl_svn114_69><td class="source">                fullScreenClass: &#39;fullscreen&#39;,<br></td></tr
><tr
id=sl_svn114_70><td class="source">                icon: null,<br></td></tr
><tr
id=sl_svn114_71><td class="source">                touchSelector: &#39;a, .touch&#39;,<br></td></tr
><tr
id=sl_svn114_72><td class="source">                popSelector: &#39;.pop&#39;,<br></td></tr
><tr
id=sl_svn114_73><td class="source">                preloadImages: false,<br></td></tr
><tr
id=sl_svn114_74><td class="source">                slideSelector: &#39;body &gt; * &gt; ul li a&#39;,<br></td></tr
><tr
id=sl_svn114_75><td class="source">                slideupSelector: &#39;.slideup&#39;,<br></td></tr
><tr
id=sl_svn114_76><td class="source">                startupScreen: null,<br></td></tr
><tr
id=sl_svn114_77><td class="source">                statusBar: &#39;default&#39;, // other options: black-translucent, black<br></td></tr
><tr
id=sl_svn114_78><td class="source">                submitSelector: &#39;.submit&#39;,<br></td></tr
><tr
id=sl_svn114_79><td class="source">                swapSelector: &#39;.swap&#39;,<br></td></tr
><tr
id=sl_svn114_80><td class="source">                useAnimations: true,<br></td></tr
><tr
id=sl_svn114_81><td class="source">                useFastTouch: true // Experimental.<br></td></tr
><tr
id=sl_svn114_82><td class="source">            };<br></td></tr
><tr
id=sl_svn114_83><td class="source">            jQTSettings = $.extend({}, defaults, options);<br></td></tr
><tr
id=sl_svn114_84><td class="source">            <br></td></tr
><tr
id=sl_svn114_85><td class="source">            // Preload images<br></td></tr
><tr
id=sl_svn114_86><td class="source">            if (jQTSettings.preloadImages) {<br></td></tr
><tr
id=sl_svn114_87><td class="source">                for (var i = jQTSettings.preloadImages.length - 1; i &gt;= 0; i--){<br></td></tr
><tr
id=sl_svn114_88><td class="source">                    (new Image()).src = jQTSettings.preloadImages[i];<br></td></tr
><tr
id=sl_svn114_89><td class="source">                };<br></td></tr
><tr
id=sl_svn114_90><td class="source">            }<br></td></tr
><tr
id=sl_svn114_91><td class="source">            // Set icon<br></td></tr
><tr
id=sl_svn114_92><td class="source">            if (jQTSettings.icon) {<br></td></tr
><tr
id=sl_svn114_93><td class="source">                var precomposed = (jQTSettings.addGlossToIcon) ? &#39;&#39; : &#39;-precomposed&#39;;<br></td></tr
><tr
id=sl_svn114_94><td class="source">                hairextensions += &#39;&lt;link rel=&quot;apple-touch-icon&#39; + precomposed + &#39;&quot; href=&quot;&#39; + jQTSettings.icon + &#39;&quot; /&gt;&#39;;<br></td></tr
><tr
id=sl_svn114_95><td class="source">            }<br></td></tr
><tr
id=sl_svn114_96><td class="source">            // Set startup screen<br></td></tr
><tr
id=sl_svn114_97><td class="source">            if (jQTSettings.startupScreen) {<br></td></tr
><tr
id=sl_svn114_98><td class="source">                hairextensions += &#39;&lt;link rel=&quot;apple-touch-startup-image&quot; href=&quot;&#39; + jQTSettings.startupScreen + &#39;&quot; /&gt;&#39;;<br></td></tr
><tr
id=sl_svn114_99><td class="source">            }<br></td></tr
><tr
id=sl_svn114_100><td class="source">            // Set viewport<br></td></tr
><tr
id=sl_svn114_101><td class="source">            if (jQTSettings.fixedViewport) {<br></td></tr
><tr
id=sl_svn114_102><td class="source">                hairextensions += &#39;&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;&quot;/&gt;&#39;;<br></td></tr
><tr
id=sl_svn114_103><td class="source">            }<br></td></tr
><tr
id=sl_svn114_104><td class="source">            // Set full-screen<br></td></tr
><tr
id=sl_svn114_105><td class="source">            if (jQTSettings.fullScreen) {<br></td></tr
><tr
id=sl_svn114_106><td class="source">                hairextensions += &#39;&lt;meta name=&quot;apple-mobile-web-app-capable&quot; content=&quot;yes&quot; /&gt;&#39;;<br></td></tr
><tr
id=sl_svn114_107><td class="source">                if (jQTSettings.statusBar) {<br></td></tr
><tr
id=sl_svn114_108><td class="source">                    hairextensions += &#39;&lt;meta name=&quot;apple-mobile-web-app-status-bar-style&quot; content=&quot;&#39; + jQTSettings.statusBar + &#39;&quot; /&gt;&#39;;<br></td></tr
><tr
id=sl_svn114_109><td class="source">                }<br></td></tr
><tr
id=sl_svn114_110><td class="source">            }<br></td></tr
><tr
id=sl_svn114_111><td class="source">            if (hairextensions) $head.append(hairextensions);<br></td></tr
><tr
id=sl_svn114_112><td class="source"><br></td></tr
><tr
id=sl_svn114_113><td class="source">            // Initialize on document load:<br></td></tr
><tr
id=sl_svn114_114><td class="source">            $(document).ready(function(){<br></td></tr
><tr
id=sl_svn114_115><td class="source"><br></td></tr
><tr
id=sl_svn114_116><td class="source">                // Add extensions<br></td></tr
><tr
id=sl_svn114_117><td class="source">                for (var i in extensions)<br></td></tr
><tr
id=sl_svn114_118><td class="source">                {<br></td></tr
><tr
id=sl_svn114_119><td class="source">                    var fn = extensions[i];<br></td></tr
><tr
id=sl_svn114_120><td class="source">                    if ($.isFunction(fn))<br></td></tr
><tr
id=sl_svn114_121><td class="source">                    {<br></td></tr
><tr
id=sl_svn114_122><td class="source">                        $.extend(publicObj, fn(publicObj));<br></td></tr
><tr
id=sl_svn114_123><td class="source">                    }<br></td></tr
><tr
id=sl_svn114_124><td class="source">                }<br></td></tr
><tr
id=sl_svn114_125><td class="source">                <br></td></tr
><tr
id=sl_svn114_126><td class="source">                // Add animations<br></td></tr
><tr
id=sl_svn114_127><td class="source">                for (var i in defaultAnimations)<br></td></tr
><tr
id=sl_svn114_128><td class="source">                {<br></td></tr
><tr
id=sl_svn114_129><td class="source">                    var name = defaultAnimations[i];<br></td></tr
><tr
id=sl_svn114_130><td class="source">                    var selector = jQTSettings[name + &#39;Selector&#39;];<br></td></tr
><tr
id=sl_svn114_131><td class="source">                    if (typeof(selector) == &#39;string&#39;) {<br></td></tr
><tr
id=sl_svn114_132><td class="source">                        addAnimation({name:name, selector:selector});<br></td></tr
><tr
id=sl_svn114_133><td class="source">                    }<br></td></tr
><tr
id=sl_svn114_134><td class="source">                }<br></td></tr
><tr
id=sl_svn114_135><td class="source"><br></td></tr
><tr
id=sl_svn114_136><td class="source">                touchSelectors.push(&#39;input&#39;);<br></td></tr
><tr
id=sl_svn114_137><td class="source">                touchSelectors.push(jQTSettings.touchSelector);<br></td></tr
><tr
id=sl_svn114_138><td class="source">                touchSelectors.push(jQTSettings.backSelector);<br></td></tr
><tr
id=sl_svn114_139><td class="source">                touchSelectors.push(jQTSettings.submitSelector);<br></td></tr
><tr
id=sl_svn114_140><td class="source">                $(touchSelectors.join(&#39;, &#39;)).css(&#39;-webkit-touch-callout&#39;, &#39;none&#39;);<br></td></tr
><tr
id=sl_svn114_141><td class="source">                $(jQTSettings.backSelector).tap(liveTap);<br></td></tr
><tr
id=sl_svn114_142><td class="source">                $(jQTSettings.submitSelector).tap(submitParentForm);<br></td></tr
><tr
id=sl_svn114_143><td class="source"><br></td></tr
><tr
id=sl_svn114_144><td class="source">                $body = $(&#39;body&#39;);<br></td></tr
><tr
id=sl_svn114_145><td class="source">                <br></td></tr
><tr
id=sl_svn114_146><td class="source">                if (jQTSettings.fullScreenClass &amp;&amp; window.navigator.standalone == true) {<br></td></tr
><tr
id=sl_svn114_147><td class="source">                    $body.addClass(jQTSettings.fullScreenClass + &#39; &#39; + jQTSettings.statusBar);<br></td></tr
><tr
id=sl_svn114_148><td class="source">                }<br></td></tr
><tr
id=sl_svn114_149><td class="source"><br></td></tr
><tr
id=sl_svn114_150><td class="source">                // Create custom live events<br></td></tr
><tr
id=sl_svn114_151><td class="source">                $body<br></td></tr
><tr
id=sl_svn114_152><td class="source">                    .bind(&#39;touchstart&#39;, handleTouch)<br></td></tr
><tr
id=sl_svn114_153><td class="source">                    .bind(&#39;orientationchange&#39;, updateOrientation)<br></td></tr
><tr
id=sl_svn114_154><td class="source">                    .trigger(&#39;orientationchange&#39;)<br></td></tr
><tr
id=sl_svn114_155><td class="source">                    .submit(submitForm);<br></td></tr
><tr
id=sl_svn114_156><td class="source">                    <br></td></tr
><tr
id=sl_svn114_157><td class="source">                if (jQTSettings.useFastTouch &amp;&amp; $.support.touch)<br></td></tr
><tr
id=sl_svn114_158><td class="source">                {<br></td></tr
><tr
id=sl_svn114_159><td class="source">                    $body.click(function(e){<br></td></tr
><tr
id=sl_svn114_160><td class="source">                        var $el = $(e.target);<br></td></tr
><tr
id=sl_svn114_161><td class="source">                        if ($el.attr(&#39;target&#39;) == &#39;_blank&#39; || $el.attr(&#39;rel&#39;) == &#39;external&#39; || $el.is(&#39;input[type=&quot;checkbox&quot;]&#39;))<br></td></tr
><tr
id=sl_svn114_162><td class="source">                        {<br></td></tr
><tr
id=sl_svn114_163><td class="source">                            return true;<br></td></tr
><tr
id=sl_svn114_164><td class="source">                        } else {<br></td></tr
><tr
id=sl_svn114_165><td class="source">                            return false;<br></td></tr
><tr
id=sl_svn114_166><td class="source">                        }<br></td></tr
><tr
id=sl_svn114_167><td class="source">                    });<br></td></tr
><tr
id=sl_svn114_168><td class="source">                    <br></td></tr
><tr
id=sl_svn114_169><td class="source">                    // This additionally gets rid of form focusses<br></td></tr
><tr
id=sl_svn114_170><td class="source">                    $body.mousedown(function(e){<br></td></tr
><tr
id=sl_svn114_171><td class="source">                        var timeDiff = (new Date()).getTime() - lastAnimationTime;<br></td></tr
><tr
id=sl_svn114_172><td class="source">                        if (timeDiff &lt; 200)<br></td></tr
><tr
id=sl_svn114_173><td class="source">                        {<br></td></tr
><tr
id=sl_svn114_174><td class="source">                            return false;<br></td></tr
><tr
id=sl_svn114_175><td class="source">                        }<br></td></tr
><tr
id=sl_svn114_176><td class="source">                    });<br></td></tr
><tr
id=sl_svn114_177><td class="source">                }<br></td></tr
><tr
id=sl_svn114_178><td class="source"><br></td></tr
><tr
id=sl_svn114_179><td class="source">                // Make sure exactly one child of body has &quot;current&quot; class<br></td></tr
><tr
id=sl_svn114_180><td class="source">                if ($(&#39;body &gt; .current&#39;).length == 0) {<br></td></tr
><tr
id=sl_svn114_181><td class="source">                    currentPage = $(&#39;body &gt; *:first&#39;);<br></td></tr
><tr
id=sl_svn114_182><td class="source">                } else {<br></td></tr
><tr
id=sl_svn114_183><td class="source">                    currentPage = $(&#39;body &gt; .current:first&#39;);<br></td></tr
><tr
id=sl_svn114_184><td class="source">                    $(&#39;body &gt; .current&#39;).removeClass(&#39;current&#39;);<br></td></tr
><tr
id=sl_svn114_185><td class="source">                }<br></td></tr
><tr
id=sl_svn114_186><td class="source">                <br></td></tr
><tr
id=sl_svn114_187><td class="source">                // Go to the top of the &quot;current&quot; page<br></td></tr
><tr
id=sl_svn114_188><td class="source">                $(currentPage).addClass(&#39;current&#39;);<br></td></tr
><tr
id=sl_svn114_189><td class="source">                location.hash = $(currentPage).attr(&#39;id&#39;);<br></td></tr
><tr
id=sl_svn114_190><td class="source">                addPageToHistory(currentPage);<br></td></tr
><tr
id=sl_svn114_191><td class="source">                scrollTo(0, 0);<br></td></tr
><tr
id=sl_svn114_192><td class="source">                dumbLoopStart();<br></td></tr
><tr
id=sl_svn114_193><td class="source">            });<br></td></tr
><tr
id=sl_svn114_194><td class="source">        }<br></td></tr
><tr
id=sl_svn114_195><td class="source">        <br></td></tr
><tr
id=sl_svn114_196><td class="source">        // PUBLIC FUNCTIONS<br></td></tr
><tr
id=sl_svn114_197><td class="source">        function goBack(to) {<br></td></tr
><tr
id=sl_svn114_198><td class="source">            // Init the param<br></td></tr
><tr
id=sl_svn114_199><td class="source">            if (hist.length &gt; 1) {<br></td></tr
><tr
id=sl_svn114_200><td class="source">                var numberOfPages = Math.min(parseInt(to || 1, 10), hist.length-1);<br></td></tr
></table></pre>

<pre class="prettyprint lang-js"><table><tr
id=sl_svn114_201><td class="source"><br></td></tr
><tr
id=sl_svn114_202><td class="source">                // Search through the history for an ID<br></td></tr
><tr
id=sl_svn114_203><td class="source">                if( isNaN(numberOfPages) &amp;&amp; typeof(to) === &quot;string&quot; &amp;&amp; to != &#39;#&#39; ) {<br></td></tr
><tr
id=sl_svn114_204><td class="source">                    for( var i=1, length=hist.length; i &lt; length; i++ ) {<br></td></tr
><tr
id=sl_svn114_205><td class="source">                        if( &#39;#&#39; + hist[i].id === to ) {<br></td></tr
><tr
id=sl_svn114_206><td class="source">                            numberOfPages = i;<br></td></tr
><tr
id=sl_svn114_207><td class="source">                            break;<br></td></tr
><tr
id=sl_svn114_208><td class="source">                        }<br></td></tr
><tr
id=sl_svn114_209><td class="source">                    }<br></td></tr
><tr
id=sl_svn114_210><td class="source">                }<br></td></tr
><tr
id=sl_svn114_211><td class="source"><br></td></tr
><tr
id=sl_svn114_212><td class="source">                // If still nothing, assume one<br></td></tr
><tr
id=sl_svn114_213><td class="source">                if( isNaN(numberOfPages) || numberOfPages &lt; 1 ) {<br></td></tr
><tr
id=sl_svn114_214><td class="source">                    numberOfPages = 1;<br></td></tr
><tr
id=sl_svn114_215><td class="source">                };<br></td></tr
><tr
id=sl_svn114_216><td class="source"><br></td></tr
><tr
id=sl_svn114_217><td class="source">                // Grab the current page for the &quot;from&quot; info<br></td></tr
><tr
id=sl_svn114_218><td class="source">                var animation = hist[0].animation;<br></td></tr
><tr
id=sl_svn114_219><td class="source">                var fromPage = hist[0].page;<br></td></tr
><tr
id=sl_svn114_220><td class="source"><br></td></tr
><tr
id=sl_svn114_221><td class="source">                // Remove all pages in front of the target page<br></td></tr
><tr
id=sl_svn114_222><td class="source">                hist.splice(0, numberOfPages);<br></td></tr
><tr
id=sl_svn114_223><td class="source"><br></td></tr
><tr
id=sl_svn114_224><td class="source">                // Grab the target page<br></td></tr
><tr
id=sl_svn114_225><td class="source">                var toPage = hist[0].page;<br></td></tr
><tr
id=sl_svn114_226><td class="source"><br></td></tr
><tr
id=sl_svn114_227><td class="source">                // Make the animations<br></td></tr
><tr
id=sl_svn114_228><td class="source">                animatePages(fromPage, toPage, animation, true);<br></td></tr
><tr
id=sl_svn114_229><td class="source">                <br></td></tr
><tr
id=sl_svn114_230><td class="source">                return publicObj;<br></td></tr
><tr
id=sl_svn114_231><td class="source">            } else {<br></td></tr
><tr
id=sl_svn114_232><td class="source">                console.error(&#39;No pages in history.&#39;);<br></td></tr
><tr
id=sl_svn114_233><td class="source">                return false;<br></td></tr
><tr
id=sl_svn114_234><td class="source">            }<br></td></tr
><tr
id=sl_svn114_235><td class="source">        }<br></td></tr
><tr
id=sl_svn114_236><td class="source">        function goTo(toPage, animation) {<br></td></tr
><tr
id=sl_svn114_237><td class="source">            var fromPage = hist[0].page;<br></td></tr
><tr
id=sl_svn114_238><td class="source">            <br></td></tr
><tr
id=sl_svn114_239><td class="source">            if (typeof(toPage) === &#39;string&#39;) {<br></td></tr
><tr
id=sl_svn114_240><td class="source">                toPage = $(toPage);<br></td></tr
><tr
id=sl_svn114_241><td class="source">            }<br></td></tr
><tr
id=sl_svn114_242><td class="source">            if (typeof(animation) === &#39;string&#39;) {<br></td></tr
><tr
id=sl_svn114_243><td class="source">                for (var i = animations.length - 1; i &gt;= 0; i--){<br></td></tr
><tr
id=sl_svn114_244><td class="source">                    if (animations[i].name === animation)<br></td></tr
><tr
id=sl_svn114_245><td class="source">                    {<br></td></tr
><tr
id=sl_svn114_246><td class="source">                        animation = animations[i];<br></td></tr
><tr
id=sl_svn114_247><td class="source">                        break;<br></td></tr
><tr
id=sl_svn114_248><td class="source">                    }<br></td></tr
><tr
id=sl_svn114_249><td class="source">                }<br></td></tr
><tr
id=sl_svn114_250><td class="source">            }<br></td></tr
><tr
id=sl_svn114_251><td class="source">            if (animatePages(fromPage, toPage, animation)) {<br></td></tr
><tr
id=sl_svn114_252><td class="source">                addPageToHistory(toPage, animation);<br></td></tr
><tr
id=sl_svn114_253><td class="source">                return publicObj;<br></td></tr
><tr
id=sl_svn114_254><td class="source">            }<br></td></tr
><tr
id=sl_svn114_255><td class="source">            else<br></td></tr
><tr
id=sl_svn114_256><td class="source">            {<br></td></tr
><tr
id=sl_svn114_257><td class="source">                console.error(&#39;Could not animate pages.&#39;);<br></td></tr
><tr
id=sl_svn114_258><td class="source">                return false;<br></td></tr
><tr
id=sl_svn114_259><td class="source">            }<br></td></tr
><tr
id=sl_svn114_260><td class="source">        }<br></td></tr
><tr
id=sl_svn114_261><td class="source">        function getOrientation() {<br></td></tr
><tr
id=sl_svn114_262><td class="source">            return orientation;<br></td></tr
><tr
id=sl_svn114_263><td class="source">        }<br></td></tr
><tr
id=sl_svn114_264><td class="source"><br></td></tr
><tr
id=sl_svn114_265><td class="source">        // PRIVATE FUNCTIONS<br></td></tr
><tr
id=sl_svn114_266><td class="source">        function liveTap(e){<br></td></tr
><tr
id=sl_svn114_267><td class="source">            <br></td></tr
><tr
id=sl_svn114_268><td class="source">            // Grab the clicked element<br></td></tr
><tr
id=sl_svn114_269><td class="source">            var $el = $(e.target);<br></td></tr
><tr
id=sl_svn114_270><td class="source"><br></td></tr
><tr
id=sl_svn114_271><td class="source">            if ($el.attr(&#39;nodeName&#39;)!==&#39;A&#39;){<br></td></tr
><tr
id=sl_svn114_272><td class="source">                $el = $el.parent(&#39;a&#39;);<br></td></tr
><tr
id=sl_svn114_273><td class="source">            }<br></td></tr
><tr
id=sl_svn114_274><td class="source">            <br></td></tr
><tr
id=sl_svn114_275><td class="source">            var target = $el.attr(&#39;target&#39;), <br></td></tr
><tr
id=sl_svn114_276><td class="source">            hash = $el.attr(&#39;hash&#39;), <br></td></tr
><tr
id=sl_svn114_277><td class="source">            animation=null;<br></td></tr
><tr
id=sl_svn114_278><td class="source">            <br></td></tr
><tr
id=sl_svn114_279><td class="source">            if (tapReady == false || !$el.length) {<br></td></tr
><tr
id=sl_svn114_280><td class="source">                console.warn(&#39;Not able to tap element.&#39;)<br></td></tr
><tr
id=sl_svn114_281><td class="source">                return false;<br></td></tr
><tr
id=sl_svn114_282><td class="source">            }<br></td></tr
><tr
id=sl_svn114_283><td class="source">            <br></td></tr
><tr
id=sl_svn114_284><td class="source">            if ($el.attr(&#39;target&#39;) == &#39;_blank&#39; || $el.attr(&#39;rel&#39;) == &#39;external&#39;)<br></td></tr
><tr
id=sl_svn114_285><td class="source">            {<br></td></tr
><tr
id=sl_svn114_286><td class="source">                return true;<br></td></tr
><tr
id=sl_svn114_287><td class="source">            }<br></td></tr
><tr
id=sl_svn114_288><td class="source">            <br></td></tr
><tr
id=sl_svn114_289><td class="source">            // Figure out the animation to use<br></td></tr
><tr
id=sl_svn114_290><td class="source">            for (var i = animations.length - 1; i &gt;= 0; i--){<br></td></tr
><tr
id=sl_svn114_291><td class="source">                if ($el.is(animations[i].selector)) {<br></td></tr
><tr
id=sl_svn114_292><td class="source">                    animation = animations[i];<br></td></tr
><tr
id=sl_svn114_293><td class="source">                    break;<br></td></tr
><tr
id=sl_svn114_294><td class="source">                }<br></td></tr
><tr
id=sl_svn114_295><td class="source">            };<br></td></tr
><tr
id=sl_svn114_296><td class="source"><br></td></tr
><tr
id=sl_svn114_297><td class="source">            // User clicked an internal link, fullscreen mode<br></td></tr
><tr
id=sl_svn114_298><td class="source">            if (target == &#39;_webapp&#39;) {<br></td></tr
><tr
id=sl_svn114_299><td class="source">                window.location = $el.attr(&#39;href&#39;);<br></td></tr
><tr
id=sl_svn114_300><td class="source">            }<br></td></tr
><tr
id=sl_svn114_301><td class="source">            // User clicked a back button<br></td></tr
><tr
id=sl_svn114_302><td class="source">            else if ($el.is(jQTSettings.backSelector)) {<br></td></tr
><tr
id=sl_svn114_303><td class="source">                goBack(hash);<br></td></tr
><tr
id=sl_svn114_304><td class="source">            }<br></td></tr
><tr
id=sl_svn114_305><td class="source">            // Branch on internal or external href<br></td></tr
><tr
id=sl_svn114_306><td class="source">            else if (hash &amp;&amp; hash!=&#39;#&#39;) {<br></td></tr
><tr
id=sl_svn114_307><td class="source">                $el.addClass(&#39;active&#39;);<br></td></tr
><tr
id=sl_svn114_308><td class="source">                goTo($(hash).data(&#39;referrer&#39;, $el), animation);<br></td></tr
><tr
id=sl_svn114_309><td class="source">            } else {<br></td></tr
><tr
id=sl_svn114_310><td class="source">                $el.addClass(&#39;loading active&#39;);<br></td></tr
><tr
id=sl_svn114_311><td class="source">                showPageByHref($el.attr(&#39;href&#39;), {<br></td></tr
><tr
id=sl_svn114_312><td class="source">                    animation: animation,<br></td></tr
><tr
id=sl_svn114_313><td class="source">                    callback: function(){ <br></td></tr
><tr
id=sl_svn114_314><td class="source">                        $el.removeClass(&#39;loading&#39;); setTimeout($.fn.unselect, 250, $el);<br></td></tr
><tr
id=sl_svn114_315><td class="source">                    },<br></td></tr
><tr
id=sl_svn114_316><td class="source">                    $referrer: $el<br></td></tr
><tr
id=sl_svn114_317><td class="source">                });<br></td></tr
><tr
id=sl_svn114_318><td class="source">            }<br></td></tr
><tr
id=sl_svn114_319><td class="source">            return false;<br></td></tr
><tr
id=sl_svn114_320><td class="source">        }<br></td></tr
><tr
id=sl_svn114_321><td class="source">        function addPageToHistory(page, animation) {<br></td></tr
><tr
id=sl_svn114_322><td class="source">            // Grab some info<br></td></tr
><tr
id=sl_svn114_323><td class="source">            var pageId = page.attr(&#39;id&#39;);<br></td></tr
><tr
id=sl_svn114_324><td class="source"><br></td></tr
><tr
id=sl_svn114_325><td class="source">            // Prepend info to page history<br></td></tr
><tr
id=sl_svn114_326><td class="source">            hist.unshift({<br></td></tr
><tr
id=sl_svn114_327><td class="source">                page: page, <br></td></tr
><tr
id=sl_svn114_328><td class="source">                animation: animation, <br></td></tr
><tr
id=sl_svn114_329><td class="source">                id: pageId<br></td></tr
><tr
id=sl_svn114_330><td class="source">            });<br></td></tr
><tr
id=sl_svn114_331><td class="source">        }<br></td></tr
><tr
id=sl_svn114_332><td class="source">        function animatePages(fromPage, toPage, animation, backwards) {<br></td></tr
><tr
id=sl_svn114_333><td class="source">            // Error check for target page<br></td></tr
><tr
id=sl_svn114_334><td class="source">            if(toPage.length === 0){<br></td></tr
><tr
id=sl_svn114_335><td class="source">                $.fn.unselect();<br></td></tr
><tr
id=sl_svn114_336><td class="source">                console.error(&#39;Target element is missing.&#39;);<br></td></tr
><tr
id=sl_svn114_337><td class="source">                return false;<br></td></tr
><tr
id=sl_svn114_338><td class="source">            }<br></td></tr
><tr
id=sl_svn114_339><td class="source">            <br></td></tr
><tr
id=sl_svn114_340><td class="source">            // Collapse the keyboard<br></td></tr
><tr
id=sl_svn114_341><td class="source">            $(&#39;:focus&#39;).blur();<br></td></tr
><tr
id=sl_svn114_342><td class="source"><br></td></tr
><tr
id=sl_svn114_343><td class="source">            // Make sure we are scrolled up to hide location bar<br></td></tr
><tr
id=sl_svn114_344><td class="source">            scrollTo(0, 0);<br></td></tr
><tr
id=sl_svn114_345><td class="source">            <br></td></tr
><tr
id=sl_svn114_346><td class="source">            // Define callback to run after animation completes<br></td></tr
><tr
id=sl_svn114_347><td class="source">            var callback = function(event){<br></td></tr
><tr
id=sl_svn114_348><td class="source"><br></td></tr
><tr
id=sl_svn114_349><td class="source">                if (animation)<br></td></tr
><tr
id=sl_svn114_350><td class="source">                {<br></td></tr
><tr
id=sl_svn114_351><td class="source">                    toPage.removeClass(&#39;in reverse &#39; + animation.name);<br></td></tr
><tr
id=sl_svn114_352><td class="source">                    fromPage.removeClass(&#39;current out reverse &#39; + animation.name);<br></td></tr
><tr
id=sl_svn114_353><td class="source">                }<br></td></tr
><tr
id=sl_svn114_354><td class="source">                else<br></td></tr
><tr
id=sl_svn114_355><td class="source">                {<br></td></tr
><tr
id=sl_svn114_356><td class="source">                    fromPage.removeClass(&#39;current&#39;);<br></td></tr
><tr
id=sl_svn114_357><td class="source">                }<br></td></tr
><tr
id=sl_svn114_358><td class="source"><br></td></tr
><tr
id=sl_svn114_359><td class="source">                toPage.trigger(&#39;pageAnimationEnd&#39;, { direction: &#39;in&#39; });<br></td></tr
><tr
id=sl_svn114_360><td class="source">    	        fromPage.trigger(&#39;pageAnimationEnd&#39;, { direction: &#39;out&#39; });<br></td></tr
><tr
id=sl_svn114_361><td class="source">                <br></td></tr
><tr
id=sl_svn114_362><td class="source">                clearInterval(dumbLoop);<br></td></tr
><tr
id=sl_svn114_363><td class="source">                currentPage = toPage;<br></td></tr
><tr
id=sl_svn114_364><td class="source">                location.hash = currentPage.attr(&#39;id&#39;);<br></td></tr
><tr
id=sl_svn114_365><td class="source">                dumbLoopStart();<br></td></tr
><tr
id=sl_svn114_366><td class="source"><br></td></tr
><tr
id=sl_svn114_367><td class="source">                var $originallink = toPage.data(&#39;referrer&#39;);<br></td></tr
><tr
id=sl_svn114_368><td class="source">                if ($originallink) {<br></td></tr
><tr
id=sl_svn114_369><td class="source">                    $originallink.unselect();<br></td></tr
><tr
id=sl_svn114_370><td class="source">                }<br></td></tr
><tr
id=sl_svn114_371><td class="source">                lastAnimationTime = (new Date()).getTime();<br></td></tr
><tr
id=sl_svn114_372><td class="source">                tapReady = true;<br></td></tr
><tr
id=sl_svn114_373><td class="source">            }<br></td></tr
><tr
id=sl_svn114_374><td class="source"><br></td></tr
><tr
id=sl_svn114_375><td class="source">            fromPage.trigger(&#39;pageAnimationStart&#39;, { direction: &#39;out&#39; });<br></td></tr
><tr
id=sl_svn114_376><td class="source">            toPage.trigger(&#39;pageAnimationStart&#39;, { direction: &#39;in&#39; });<br></td></tr
><tr
id=sl_svn114_377><td class="source"><br></td></tr
><tr
id=sl_svn114_378><td class="source">            if ($.support.WebKitAnimationEvent &amp;&amp; animation &amp;&amp; jQTSettings.useAnimations) {<br></td></tr
><tr
id=sl_svn114_379><td class="source">                toPage.one(&#39;webkitAnimationEnd&#39;, callback);<br></td></tr
><tr
id=sl_svn114_380><td class="source">                tapReady = false;<br></td></tr
><tr
id=sl_svn114_381><td class="source">                toPage.addClass(animation.name + &#39; in current &#39; + (backwards ? &#39; reverse&#39; : &#39;&#39;));<br></td></tr
><tr
id=sl_svn114_382><td class="source">                fromPage.addClass(animation.name + &#39; out&#39; + (backwards ? &#39; reverse&#39; : &#39;&#39;));<br></td></tr
><tr
id=sl_svn114_383><td class="source">            } else {<br></td></tr
><tr
id=sl_svn114_384><td class="source">                toPage.addClass(&#39;current&#39;);<br></td></tr
><tr
id=sl_svn114_385><td class="source">                callback();<br></td></tr
><tr
id=sl_svn114_386><td class="source">            }<br></td></tr
><tr
id=sl_svn114_387><td class="source"><br></td></tr
><tr
id=sl_svn114_388><td class="source">            return true;<br></td></tr
><tr
id=sl_svn114_389><td class="source">        }<br></td></tr
><tr
id=sl_svn114_390><td class="source">        function dumbLoopStart() {<br></td></tr
><tr
id=sl_svn114_391><td class="source">            dumbLoop = setInterval(function(){<br></td></tr
><tr
id=sl_svn114_392><td class="source">                var curid = currentPage.attr(&#39;id&#39;);<br></td></tr
><tr
id=sl_svn114_393><td class="source">                if (location.hash == &#39;&#39;) {<br></td></tr
><tr
id=sl_svn114_394><td class="source">                    location.hash = &#39;#&#39; + curid;<br></td></tr
><tr
id=sl_svn114_395><td class="source">                } else if (location.hash != &#39;#&#39; + curid) {<br></td></tr
><tr
id=sl_svn114_396><td class="source">                    try {<br></td></tr
><tr
id=sl_svn114_397><td class="source">                        goBack(location.hash)<br></td></tr
><tr
id=sl_svn114_398><td class="source">                    } catch(e) {<br></td></tr
><tr
id=sl_svn114_399><td class="source">                        console.error(&#39;Unknown hash change.&#39;);<br></td></tr
><tr
id=sl_svn114_400><td class="source">                    }<br></td></tr
><tr
id=sl_svn114_401><td class="source">                }<br></td></tr
><tr
id=sl_svn114_402><td class="source">            }, 100);<br></td></tr
><tr
id=sl_svn114_403><td class="source">        }<br></td></tr
><tr
id=sl_svn114_404><td class="source">        function insertPages(nodes, animation) {<br></td></tr
><tr
id=sl_svn114_405><td class="source">            var targetPage = null;<br></td></tr
><tr
id=sl_svn114_406><td class="source">            $(nodes).each(function(index, node){<br></td></tr
><tr
id=sl_svn114_407><td class="source">                var $node = $(this);<br></td></tr
><tr
id=sl_svn114_408><td class="source">                if (!$node.attr(&#39;id&#39;)) {<br></td></tr
><tr
id=sl_svn114_409><td class="source">                    $node.attr(&#39;id&#39;, &#39;page-&#39; + (++newPageCount));<br></td></tr
><tr
id=sl_svn114_410><td class="source">                }<br></td></tr
><tr
id=sl_svn114_411><td class="source">                $node.appendTo($body);<br></td></tr
><tr
id=sl_svn114_412><td class="source">                if ($node.hasClass(&#39;current&#39;) || !targetPage ) {<br></td></tr
><tr
id=sl_svn114_413><td class="source">                    targetPage = $node;<br></td></tr
><tr
id=sl_svn114_414><td class="source">                }<br></td></tr
><tr
id=sl_svn114_415><td class="source">            });<br></td></tr
><tr
id=sl_svn114_416><td class="source">            if (targetPage !== null) {<br></td></tr
><tr
id=sl_svn114_417><td class="source">                goTo(targetPage, animation);<br></td></tr
><tr
id=sl_svn114_418><td class="source">                return targetPage;<br></td></tr
><tr
id=sl_svn114_419><td class="source">            }<br></td></tr
><tr
id=sl_svn114_420><td class="source">            else<br></td></tr
><tr
id=sl_svn114_421><td class="source">            {<br></td></tr
><tr
id=sl_svn114_422><td class="source">                return false;<br></td></tr
><tr
id=sl_svn114_423><td class="source">            }<br></td></tr
><tr
id=sl_svn114_424><td class="source">        }<br></td></tr
><tr
id=sl_svn114_425><td class="source">        function showPageByHref(href, options) {<br></td></tr
><tr
id=sl_svn114_426><td class="source">            var defaults = {<br></td></tr
><tr
id=sl_svn114_427><td class="source">                data: null,<br></td></tr
><tr
id=sl_svn114_428><td class="source">                method: &#39;GET&#39;,<br></td></tr
><tr
id=sl_svn114_429><td class="source">                animation: null,<br></td></tr
><tr
id=sl_svn114_430><td class="source">                callback: null,<br></td></tr
><tr
id=sl_svn114_431><td class="source">                $referrer: null<br></td></tr
><tr
id=sl_svn114_432><td class="source">            };<br></td></tr
><tr
id=sl_svn114_433><td class="source">            <br></td></tr
><tr
id=sl_svn114_434><td class="source">            var settings = $.extend({}, defaults, options);<br></td></tr
></table></pre>

<pre class="prettyprint lang-js"><table><tr
id=sl_svn114_435><td class="source"><br></td></tr
><tr
id=sl_svn114_436><td class="source">            if (href != &#39;#&#39;)<br></td></tr
><tr
id=sl_svn114_437><td class="source">            {<br></td></tr
><tr
id=sl_svn114_438><td class="source">                $.ajax({<br></td></tr
><tr
id=sl_svn114_439><td class="source">                    url: href,<br></td></tr
><tr
id=sl_svn114_440><td class="source">                    data: settings.data,<br></td></tr
><tr
id=sl_svn114_441><td class="source">                    type: settings.method,<br></td></tr
><tr
id=sl_svn114_442><td class="source">                    success: function (data, textStatus) {<br></td></tr
><tr
id=sl_svn114_443><td class="source">                        var firstPage = insertPages(data, settings.animation);<br></td></tr
><tr
id=sl_svn114_444><td class="source">                        if (firstPage)<br></td></tr
><tr
id=sl_svn114_445><td class="source">                        {<br></td></tr
><tr
id=sl_svn114_446><td class="source">                            if (settings.method == &#39;GET&#39; &amp;&amp; jQTSettings.cacheGetRequests &amp;&amp; settings.$referrer)<br></td></tr
><tr
id=sl_svn114_447><td class="source">                            {<br></td></tr
><tr
id=sl_svn114_448><td class="source">                                settings.$referrer.attr(&#39;href&#39;, &#39;#&#39; + firstPage.attr(&#39;id&#39;));<br></td></tr
><tr
id=sl_svn114_449><td class="source">                            }<br></td></tr
><tr
id=sl_svn114_450><td class="source">                            if (settings.callback) {<br></td></tr
><tr
id=sl_svn114_451><td class="source">                                settings.callback(true);<br></td></tr
><tr
id=sl_svn114_452><td class="source">                            }<br></td></tr
><tr
id=sl_svn114_453><td class="source">                        }<br></td></tr
><tr
id=sl_svn114_454><td class="source">                    },<br></td></tr
><tr
id=sl_svn114_455><td class="source">                    error: function (data) {<br></td></tr
><tr
id=sl_svn114_456><td class="source">                        if (settings.$referrer) settings.$referrer.unselect();<br></td></tr
><tr
id=sl_svn114_457><td class="source">                        if (settings.callback) {<br></td></tr
><tr
id=sl_svn114_458><td class="source">                            settings.callback(false);<br></td></tr
><tr
id=sl_svn114_459><td class="source">                        }<br></td></tr
><tr
id=sl_svn114_460><td class="source">                    }<br></td></tr
><tr
id=sl_svn114_461><td class="source">                });<br></td></tr
><tr
id=sl_svn114_462><td class="source">            }<br></td></tr
><tr
id=sl_svn114_463><td class="source">            else if ($referrer)<br></td></tr
><tr
id=sl_svn114_464><td class="source">            {<br></td></tr
><tr
id=sl_svn114_465><td class="source">                $referrer.unselect();<br></td></tr
><tr
id=sl_svn114_466><td class="source">            }<br></td></tr
><tr
id=sl_svn114_467><td class="source">        }<br></td></tr
><tr
id=sl_svn114_468><td class="source">        function submitForm(e, callback){<br></td></tr
><tr
id=sl_svn114_469><td class="source">            var $form = (typeof(e)===&#39;string&#39;) ? $(e) : $(e.target);<br></td></tr
><tr
id=sl_svn114_470><td class="source"><br></td></tr
><tr
id=sl_svn114_471><td class="source">            if ($form.length &amp;&amp; $form.is(jQTSettings.formSelector)) {<br></td></tr
><tr
id=sl_svn114_472><td class="source">                showPageByHref($form.attr(&#39;action&#39;), {<br></td></tr
><tr
id=sl_svn114_473><td class="source">                    data: $form.serialize(),<br></td></tr
><tr
id=sl_svn114_474><td class="source">                    method: $form.attr(&#39;method&#39;) || &quot;POST&quot;,<br></td></tr
><tr
id=sl_svn114_475><td class="source">                    animation: animations[0] || null,<br></td></tr
><tr
id=sl_svn114_476><td class="source">                    callback: callback<br></td></tr
><tr
id=sl_svn114_477><td class="source">                });<br></td></tr
><tr
id=sl_svn114_478><td class="source">                return false;<br></td></tr
><tr
id=sl_svn114_479><td class="source">            }<br></td></tr
><tr
id=sl_svn114_480><td class="source">            return true;<br></td></tr
><tr
id=sl_svn114_481><td class="source">        }<br></td></tr
><tr
id=sl_svn114_482><td class="source">        function submitParentForm(e){<br></td></tr
><tr
id=sl_svn114_483><td class="source">            var $form = $(this).closest(&#39;form&#39;);<br></td></tr
><tr
id=sl_svn114_484><td class="source">            if ($form.length)<br></td></tr
><tr
id=sl_svn114_485><td class="source">            {<br></td></tr
><tr
id=sl_svn114_486><td class="source">                evt = jQuery.Event(&quot;submit&quot;);<br></td></tr
><tr
id=sl_svn114_487><td class="source">                evt.preventDefault();<br></td></tr
><tr
id=sl_svn114_488><td class="source">                $form.trigger(evt);<br></td></tr
><tr
id=sl_svn114_489><td class="source">                return false;<br></td></tr
><tr
id=sl_svn114_490><td class="source">            }<br></td></tr
><tr
id=sl_svn114_491><td class="source">            return true;<br></td></tr
><tr
id=sl_svn114_492><td class="source">        }<br></td></tr
><tr
id=sl_svn114_493><td class="source">        function addAnimation(animation) {<br></td></tr
><tr
id=sl_svn114_494><td class="source">            if (typeof(animation.selector) == &#39;string&#39; &amp;&amp; typeof(animation.name) == &#39;string&#39;) {<br></td></tr
><tr
id=sl_svn114_495><td class="source">                animations.push(animation);<br></td></tr
><tr
id=sl_svn114_496><td class="source">                $(animation.selector).tap(liveTap);<br></td></tr
><tr
id=sl_svn114_497><td class="source">                touchSelectors.push(animation.selector);<br></td></tr
><tr
id=sl_svn114_498><td class="source">            }<br></td></tr
><tr
id=sl_svn114_499><td class="source">        }<br></td></tr
><tr
id=sl_svn114_500><td class="source">        function updateOrientation() {<br></td></tr
><tr
id=sl_svn114_501><td class="source">            orientation = window.innerWidth &lt; window.innerHeight ? &#39;profile&#39; : &#39;landscape&#39;;<br></td></tr
><tr
id=sl_svn114_502><td class="source">            $body.removeClass(&#39;profile landscape&#39;).addClass(orientation).trigger(&#39;turn&#39;, {orientation: orientation});<br></td></tr
><tr
id=sl_svn114_503><td class="source">            // scrollTo(0, 0);<br></td></tr
><tr
id=sl_svn114_504><td class="source">        }<br></td></tr
><tr
id=sl_svn114_505><td class="source">        function handleTouch(e) {<br></td></tr
><tr
id=sl_svn114_506><td class="source"><br></td></tr
><tr
id=sl_svn114_507><td class="source">            var $el = $(e.target);<br></td></tr
><tr
id=sl_svn114_508><td class="source"><br></td></tr
><tr
id=sl_svn114_509><td class="source">            // Only handle touchSelectors<br></td></tr
><tr
id=sl_svn114_510><td class="source">            if (!$(e.target).is(touchSelectors.join(&#39;, &#39;)))<br></td></tr
><tr
id=sl_svn114_511><td class="source">            {<br></td></tr
><tr
id=sl_svn114_512><td class="source">                var $link = $(e.target).closest(&#39;a&#39;);<br></td></tr
><tr
id=sl_svn114_513><td class="source">                <br></td></tr
><tr
id=sl_svn114_514><td class="source">                if ($link.length){<br></td></tr
><tr
id=sl_svn114_515><td class="source">                    $el = $link;<br></td></tr
><tr
id=sl_svn114_516><td class="source">                } else {<br></td></tr
><tr
id=sl_svn114_517><td class="source">                    return;<br></td></tr
><tr
id=sl_svn114_518><td class="source">                }<br></td></tr
><tr
id=sl_svn114_519><td class="source">            }<br></td></tr
><tr
id=sl_svn114_520><td class="source">            if (event)<br></td></tr
><tr
id=sl_svn114_521><td class="source">            {<br></td></tr
><tr
id=sl_svn114_522><td class="source">                var hoverTimeout = null,<br></td></tr
><tr
id=sl_svn114_523><td class="source">                    startX = event.changedTouches[0].clientX,<br></td></tr
><tr
id=sl_svn114_524><td class="source">                    startY = event.changedTouches[0].clientY,<br></td></tr
><tr
id=sl_svn114_525><td class="source">                    startTime = (new Date).getTime(),<br></td></tr
><tr
id=sl_svn114_526><td class="source">                    deltaX = 0,<br></td></tr
><tr
id=sl_svn114_527><td class="source">                    deltaY = 0,<br></td></tr
><tr
id=sl_svn114_528><td class="source">                    deltaT = 0;<br></td></tr
><tr
id=sl_svn114_529><td class="source"><br></td></tr
><tr
id=sl_svn114_530><td class="source">                // Let&#39;s bind these after the fact, so we can keep some internal values<br></td></tr
><tr
id=sl_svn114_531><td class="source">                $el.bind(&#39;touchmove&#39;, touchmove).bind(&#39;touchend&#39;, touchend);<br></td></tr
><tr
id=sl_svn114_532><td class="source"><br></td></tr
><tr
id=sl_svn114_533><td class="source">                hoverTimeout = setTimeout(function(){<br></td></tr
><tr
id=sl_svn114_534><td class="source">                    $el.makeActive();<br></td></tr
><tr
id=sl_svn114_535><td class="source">                }, 100);<br></td></tr
><tr
id=sl_svn114_536><td class="source">                <br></td></tr
><tr
id=sl_svn114_537><td class="source">            }<br></td></tr
><tr
id=sl_svn114_538><td class="source"><br></td></tr
><tr
id=sl_svn114_539><td class="source">            // Private touch functions (TODO: insert dirty joke)<br></td></tr
><tr
id=sl_svn114_540><td class="source">            function touchmove(e) {<br></td></tr
><tr
id=sl_svn114_541><td class="source">                <br></td></tr
><tr
id=sl_svn114_542><td class="source">                updateChanges();<br></td></tr
><tr
id=sl_svn114_543><td class="source">                var absX = Math.abs(deltaX);<br></td></tr
><tr
id=sl_svn114_544><td class="source">                var absY = Math.abs(deltaY);<br></td></tr
><tr
id=sl_svn114_545><td class="source">                                <br></td></tr
><tr
id=sl_svn114_546><td class="source">                // Check for swipe<br></td></tr
><tr
id=sl_svn114_547><td class="source">                if (absX &gt; absY &amp;&amp; (absX &gt; 35) &amp;&amp; deltaT &lt; 1000) {<br></td></tr
><tr
id=sl_svn114_548><td class="source">                    $el.trigger(&#39;swipe&#39;, {direction: (deltaX &lt; 0) ? &#39;left&#39; : &#39;right&#39;}).unbind(&#39;touchmove touchend&#39;);<br></td></tr
><tr
id=sl_svn114_549><td class="source">                } else if (absY &gt; 1) {<br></td></tr
><tr
id=sl_svn114_550><td class="source">                    $el.removeClass(&#39;active&#39;);<br></td></tr
><tr
id=sl_svn114_551><td class="source">                }<br></td></tr
><tr
id=sl_svn114_552><td class="source"><br></td></tr
><tr
id=sl_svn114_553><td class="source">                clearTimeout(hoverTimeout);<br></td></tr
><tr
id=sl_svn114_554><td class="source">            } <br></td></tr
><tr
id=sl_svn114_555><td class="source">            <br></td></tr
><tr
id=sl_svn114_556><td class="source">            function touchend(){<br></td></tr
><tr
id=sl_svn114_557><td class="source">                updateChanges();<br></td></tr
><tr
id=sl_svn114_558><td class="source">            <br></td></tr
><tr
id=sl_svn114_559><td class="source">                if (deltaY === 0 &amp;&amp; deltaX === 0) {<br></td></tr
><tr
id=sl_svn114_560><td class="source">                    $el.makeActive();<br></td></tr
><tr
id=sl_svn114_561><td class="source">                    // New approach:<br></td></tr
><tr
id=sl_svn114_562><td class="source">                    // Fake the double click?<br></td></tr
><tr
id=sl_svn114_563><td class="source">                    // TODO: Try with all click events (no tap)<br></td></tr
><tr
id=sl_svn114_564><td class="source">                    // if (deltaT &lt; 40)<br></td></tr
><tr
id=sl_svn114_565><td class="source">                    // {<br></td></tr
><tr
id=sl_svn114_566><td class="source">                    //     setTimeout(function(){<br></td></tr
><tr
id=sl_svn114_567><td class="source">                    //        $el.trigger(&#39;touchstart&#39;)<br></td></tr
><tr
id=sl_svn114_568><td class="source">                    //          .trigger(&#39;touchend&#39;);<br></td></tr
><tr
id=sl_svn114_569><td class="source">                    //     }, 0);<br></td></tr
><tr
id=sl_svn114_570><td class="source">                    // }<br></td></tr
><tr
id=sl_svn114_571><td class="source">                    $el.trigger(&#39;tap&#39;);<br></td></tr
><tr
id=sl_svn114_572><td class="source">                } else {<br></td></tr
><tr
id=sl_svn114_573><td class="source">                    $el.removeClass(&#39;active&#39;);<br></td></tr
><tr
id=sl_svn114_574><td class="source">                }<br></td></tr
><tr
id=sl_svn114_575><td class="source">                $el.unbind(&#39;touchmove touchend&#39;);<br></td></tr
><tr
id=sl_svn114_576><td class="source">                clearTimeout(hoverTimeout);<br></td></tr
><tr
id=sl_svn114_577><td class="source">            }<br></td></tr
><tr
id=sl_svn114_578><td class="source">            <br></td></tr
><tr
id=sl_svn114_579><td class="source">            function updateChanges(){<br></td></tr
><tr
id=sl_svn114_580><td class="source">                var first = event.changedTouches[0] || null;<br></td></tr
><tr
id=sl_svn114_581><td class="source">                deltaX = first.pageX - startX;<br></td></tr
><tr
id=sl_svn114_582><td class="source">                deltaY = first.pageY - startY;<br></td></tr
><tr
id=sl_svn114_583><td class="source">                deltaT = (new Date).getTime() - startTime;<br></td></tr
><tr
id=sl_svn114_584><td class="source">            }<br></td></tr
><tr
id=sl_svn114_585><td class="source"><br></td></tr
><tr
id=sl_svn114_586><td class="source">        } // End touch handler<br></td></tr
><tr
id=sl_svn114_587><td class="source"><br></td></tr
><tr
id=sl_svn114_588><td class="source">        // Public jQuery Fns<br></td></tr
><tr
id=sl_svn114_589><td class="source">        $.fn.unselect = function(obj) {<br></td></tr
><tr
id=sl_svn114_590><td class="source">            if (obj) {<br></td></tr
><tr
id=sl_svn114_591><td class="source">                obj.removeClass(&#39;active&#39;);<br></td></tr
><tr
id=sl_svn114_592><td class="source">            } else {<br></td></tr
><tr
id=sl_svn114_593><td class="source">                $(&#39;.active&#39;).removeClass(&#39;active&#39;);<br></td></tr
><tr
id=sl_svn114_594><td class="source">            }<br></td></tr
><tr
id=sl_svn114_595><td class="source">        }<br></td></tr
><tr
id=sl_svn114_596><td class="source">        $.fn.makeActive = function(){<br></td></tr
><tr
id=sl_svn114_597><td class="source">            return $(this).addClass(&#39;active&#39;);<br></td></tr
><tr
id=sl_svn114_598><td class="source">        }<br></td></tr
><tr
id=sl_svn114_599><td class="source">        $.fn.swipe = function(fn) {<br></td></tr
><tr
id=sl_svn114_600><td class="source">            if ($.isFunction(fn))<br></td></tr
><tr
id=sl_svn114_601><td class="source">            {<br></td></tr
><tr
id=sl_svn114_602><td class="source">                return $(this).bind(&#39;swipe&#39;, fn);<br></td></tr
><tr
id=sl_svn114_603><td class="source">            } else {<br></td></tr
><tr
id=sl_svn114_604><td class="source">                return $(this).trigger(&#39;swipe&#39;);<br></td></tr
><tr
id=sl_svn114_605><td class="source">            }<br></td></tr
><tr
id=sl_svn114_606><td class="source">        }<br></td></tr
><tr
id=sl_svn114_607><td class="source">        $.fn.tap = function(fn){<br></td></tr
><tr
id=sl_svn114_608><td class="source">            if ($.isFunction(fn))<br></td></tr
><tr
id=sl_svn114_609><td class="source">            {<br></td></tr
><tr
id=sl_svn114_610><td class="source">                var tapEvent = (jQTSettings.useFastTouch &amp;&amp; $.support.touch) ? &#39;tap&#39; : &#39;click&#39;;<br></td></tr
><tr
id=sl_svn114_611><td class="source">                return $(this).live(tapEvent, fn);<br></td></tr
><tr
id=sl_svn114_612><td class="source">            } else {<br></td></tr
><tr
id=sl_svn114_613><td class="source">                return $(this).trigger(&#39;tap&#39;);<br></td></tr
><tr
id=sl_svn114_614><td class="source">            }<br></td></tr
><tr
id=sl_svn114_615><td class="source">        }<br></td></tr
><tr
id=sl_svn114_616><td class="source"><br></td></tr
><tr
id=sl_svn114_617><td class="source">        publicObj = {<br></td></tr
><tr
id=sl_svn114_618><td class="source">            getOrientation: getOrientation,<br></td></tr
><tr
id=sl_svn114_619><td class="source">            goBack: goBack,<br></td></tr
><tr
id=sl_svn114_620><td class="source">            goTo: goTo,<br></td></tr
><tr
id=sl_svn114_621><td class="source">            addAnimation: addAnimation,<br></td></tr
><tr
id=sl_svn114_622><td class="source">            submitForm: submitForm<br></td></tr
><tr
id=sl_svn114_623><td class="source">        }<br></td></tr
><tr
id=sl_svn114_624><td class="source"><br></td></tr
><tr
id=sl_svn114_625><td class="source">        return publicObj;<br></td></tr
><tr
id=sl_svn114_626><td class="source">    }<br></td></tr
><tr
id=sl_svn114_627><td class="source">    <br></td></tr
><tr
id=sl_svn114_628><td class="source">    // Extensions directly manipulate the jQTouch object, before it&#39;s initialized.<br></td></tr
><tr
id=sl_svn114_629><td class="source">    $.jQTouch.prototype.extensions = [];<br></td></tr
><tr
id=sl_svn114_630><td class="source">    $.jQTouch.addExtension = function(extension){<br></td></tr
><tr
id=sl_svn114_631><td class="source">        $.jQTouch.prototype.extensions.push(extension);<br></td></tr
><tr
id=sl_svn114_632><td class="source">    }<br></td></tr
><tr
id=sl_svn114_633><td class="source"><br></td></tr
><tr
id=sl_svn114_634><td class="source">})(jQuery);<br></td></tr
></table></pre>

<pre class="prettyprint"><table width="100%"><tr class="cursor_stop cursor_hidden"><td></td></tr></table></pre>
</td>
</tr></table>



 <div id="log">
 <div style="text-align:right">
 <a class="ifCollapse" href="#" onclick="_toggleMeta('p', 'jqtouch', this)">Show details</a>
 <a class="ifExpand" href="#" onclick="_toggleMeta('p', 'jqtouch', this)">Hide details</a>
 </div>
 <div class="ifExpand">
 
 <div class="pmeta_bubble_bg" style="border:1px solid white">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <div id="changelog">
 <p>Change log</p>
 <div>
 <a href="/p/jqtouch/source/detail?spec=svn114&r=114">r114</a>
 by jstark195
 on Yesterday (38 hours ago)
 &nbsp; <a href="/p/jqtouch/source/diff?spec=svn114&r=114&amp;format=side&amp;path=/trunk/jqtouch/jqtouch.js&amp;old_path=/trunk/jqtouch/jqtouch.js&amp;old=111">Diff</a>
 </div>
 <pre>Removed the action clause from the
submitForm function because it can't be
undefined and therefor redundant</pre>
 </div>
 
 
 
 
 
 
 <script type="text/javascript">
 var detail_url = '/p/jqtouch/source/detail?r=114&spec=svn114';
 var publish_url = '/p/jqtouch/source/detail?r=114&spec=svn114#publish';
 // describe the paths of this revision in javascript.
 var changed_paths = [];
 var changed_urls = [];
 
 changed_paths.push('/trunk/jqtouch/jqtouch.js');
 changed_urls.push('/p/jqtouch/source/browse/trunk/jqtouch/jqtouch.js?r=114&spec=svn114');
 
 var selected_path = '/trunk/jqtouch/jqtouch.js';
 
 
 function getCurrentPageIndex() {
 for (var i = 0; i < changed_paths.length; i++) {
 if (selected_path == changed_paths[i]) {
 return i;
 }
 }
 }
 function getNextPage() {
 var i = getCurrentPageIndex();
 if (i < changed_paths.length - 1) {
 return changed_urls[i + 1];
 }
 return null;
 }
 function getPreviousPage() {
 var i = getCurrentPageIndex();
 if (i > 0) {
 return changed_urls[i - 1];
 }
 return null;
 }
 function gotoNextPage() {
 var page = getNextPage();
 if (!page) {
 page = detail_url;
 }
 window.location = page;
 }
 function gotoPreviousPage() {
 var page = getPreviousPage();
 if (!page) {
 page = detail_url;
 }
 window.location = page;
 }
 function gotoDetailPage() {
 window.location = detail_url;
 }
 function gotoPublishPage() {
 window.location = publish_url;
 }
</script>
 
 <style type="text/css">
 #review_nav {
 border-top: 3px solid white;
 padding-top: 6px;
 margin-top: 1em;
 }
 #review_nav td {
 vertical-align: middle;
 }
 #review_nav select {
 margin: .5em 0;
 }
 </style>
 <div id="review_nav">
 <table><tr><td>Go to:&nbsp;</td><td>
 <select name="files_in_rev" onchange="window.location=this.value">
 
 <option value="/p/jqtouch/source/browse/trunk/jqtouch/jqtouch.js?r=114&amp;spec=svn114"
 selected="selected"
 >/trunk/jqtouch/jqtouch.js</option>
 
 </select>
 </td></tr></table>
 
 
 




 
 </div>
 
 
 </div>
 <div class="round1"></div>
 <div class="round2"></div>
 <div class="round4"></div>
 </div>
 <div class="pmeta_bubble_bg" style="border:1px solid white">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <div id="older_bubble">
 <p>Older revisions</p>
 
 
 <div class="closed" style="margin-bottom:3px;" >
 <img class="ifClosed" onclick="_toggleHidden(this)" src="http://www.gstatic.com/codesite/ph/images/plus.gif" >
 <img class="ifOpened" onclick="_toggleHidden(this)" src="http://www.gstatic.com/codesite/ph/images/minus.gif" >
 <a href="/p/jqtouch/source/detail?spec=svn114&r=111">r111</a>
 by davidcolbykaneda
 on Oct 09, 2009
 &nbsp; <a href="/p/jqtouch/source/diff?spec=svn114&r=111&amp;format=side&amp;path=/trunk/jqtouch/jqtouch.js&amp;old_path=/trunk/jqtouch/jqtouch.js&amp;old=109">Diff</a>
 <br>
 <pre class="ifOpened">Resolving the swipe issue [ fixes
<a title="The swipe callback event doesn't work in main demo" class=closed_ref href="/p/jqtouch/issues/detail?id=94"> issue 94 </a> ]. Unfortunately, can't make
it &quot;live&quot; so any Ajax-loaded content
will need swipe events added as it
comes in. Also made swipe triggerable
...</pre>
 </div>
 
 <div class="closed" style="margin-bottom:3px;" >
 <img class="ifClosed" onclick="_toggleHidden(this)" src="http://www.gstatic.com/codesite/ph/images/plus.gif" >
 <img class="ifOpened" onclick="_toggleHidden(this)" src="http://www.gstatic.com/codesite/ph/images/minus.gif" >
 <a href="/p/jqtouch/source/detail?spec=svn114&r=109">r109</a>
 by davidcolbykaneda
 on Oct 06, 2009
 &nbsp; <a href="/p/jqtouch/source/diff?spec=svn114&r=109&amp;format=side&amp;path=/trunk/jqtouch/jqtouch.js&amp;old_path=/trunk/jqtouch/jqtouch.js&amp;old=108">Diff</a>
 <br>
 <pre class="ifOpened">Adding shortcut to trigger 'tap' event
with .tap();</pre>
 </div>
 
 <div class="closed" style="margin-bottom:3px;" >
 <img class="ifClosed" onclick="_toggleHidden(this)" src="http://www.gstatic.com/codesite/ph/images/plus.gif" >
 <img class="ifOpened" onclick="_toggleHidden(this)" src="http://www.gstatic.com/codesite/ph/images/minus.gif" >
 <a href="/p/jqtouch/source/detail?spec=svn114&r=108">r108</a>
 by davidcolbykaneda
 on Oct 06, 2009
 &nbsp; <a href="/p/jqtouch/source/diff?spec=svn114&r=108&amp;format=side&amp;path=/trunk/jqtouch/jqtouch.js&amp;old_path=/trunk/jqtouch/jqtouch.js&amp;old=102">Diff</a>
 <br>
 <pre class="ifOpened">  * Fixing issue with fastTouch and
input[type=&quot;checkbox&quot;]
  * Fix for external links when
useFastTouch==false
  * Making it so forms without action
...</pre>
 </div>
 
 
 <a href="/p/jqtouch/source/list?path=/trunk/jqtouch/jqtouch.js&start=114">All revisions of this file</a>
 </div>
 </div>
 <div class="round1"></div>
 <div class="round2"></div>
 <div class="round4"></div>
 </div>
 <div class="pmeta_bubble_bg" style="border:1px solid white">
 <div class="round4"></div>
 <div class="round2"></div>
 <div class="round1"></div>
 <div class="box-inner">
 <div id="fileinfo_bubble">
 <p>File info</p>
 
 <div>Size: 23138 bytes,
 634 lines</div>
 
 <div><a href="http://jqtouch.googlecode.com/svn/trunk/jqtouch/jqtouch.js">View raw file</a></div>
 </div>
 
 <div id="props">
 <p>File properties</p>
 <dl>
 
 <dt>svn:mime-type</dt>
 <dd>text/javascript</dd>
 
 <dt>svn:eol-style</dt>
 <dd>native</dd>
 
 <dt>svn:keywords</dt>
 <dd>LastChangedBy Date Revision Id</dd>
 
 </dl>
 </div>
 
 </div>
 <div class="round1"></div>
 <div class="round2"></div>
 <div class="round4"></div>
 </div>
 </div>
 </div>


</div>
</div>

 <script src="http://www.gstatic.com/codesite/ph/14614399729835259589/js/prettify/prettify.js"></script>

<script type="text/javascript">prettyPrint();</script>

<script src="http://www.gstatic.com/codesite/ph/14614399729835259589/js/source_file_scripts_20080115.js"></script>

 <script type="text/javascript" src="http://kibbles.googlecode.com/files/kibbles-1.3.1.comp.js"></script>
 <script type="text/javascript">
 var lastStop = null;
 var initilized = false;
 
 function updateCursor(next, prev) {
 if (prev && prev.element) {
 prev.element.className = 'cursor_stop cursor_hidden';
 }
 if (next && next.element) {
 next.element.className = 'cursor_stop cursor';
 lastStop = next.index;
 }
 }
 
 function pubRevealed(data) {
 updateCursorForCell(data.cellId, 'cursor_stop cursor_hidden');
 if (initilized) {
 reloadCursors();
 }
 }
 
 function draftRevealed(data) {
 updateCursorForCell(data.cellId, 'cursor_stop cursor_hidden');
 if (initilized) {
 reloadCursors();
 }
 }
 
 function draftDestroyed(data) {
 updateCursorForCell(data.cellId, 'nocursor');
 if (initilized) {
 reloadCursors();
 }
 }
 function reloadCursors() {
 kibbles.skipper.reset();
 loadCursors();
 if (lastStop != null) {
 kibbles.skipper.setCurrentStop(lastStop);
 }
 }
 // possibly the simplest way to insert any newly added comments
 // is to update the class of the corresponding cursor row,
 // then refresh the entire list of rows.
 function updateCursorForCell(cellId, className) {
 var cell = document.getElementById(cellId);
 // we have to go two rows back to find the cursor location
 var row = getPreviousElement(cell.parentNode);
 row.className = className;
 }
 // returns the previous element, ignores text nodes.
 function getPreviousElement(e) {
 var element = e.previousSibling;
 if (element.nodeType == 3) {
 element = element.previousSibling;
 }
 if (element && element.tagName) {
 return element;
 }
 }
 function loadCursors() {
 // register our elements with skipper
 var elements = CR_getElements('*', 'cursor_stop');
 var len = elements.length;
 for (var i = 0; i < len; i++) {
 var element = elements[i]; 
 element.className = 'cursor_stop cursor_hidden';
 kibbles.skipper.append(element);
 }
 }
 function toggleComments() {
 CR_toggleCommentDisplay();
 reloadCursors();
 }
 function keysOnLoadHandler() {
 // setup skipper
 kibbles.skipper.addStopListener(
 kibbles.skipper.LISTENER_TYPE.PRE, updateCursor);
 // Set the 'offset' option to return the middle of the client area
 // an option can be a static value, or a callback
 kibbles.skipper.setOption('padding_top', 50);
 // Set the 'offset' option to return the middle of the client area
 // an option can be a static value, or a callback
 kibbles.skipper.setOption('padding_bottom', 100);
 // Register our keys
 kibbles.skipper.addFwdKey("n");
 kibbles.skipper.addRevKey("p");
 kibbles.keys.addKeyPressListener(
 'u', function() { window.location = detail_url; });
 kibbles.keys.addKeyPressListener(
 'r', function() { window.location = detail_url + '#publish'; });
 
 kibbles.keys.addKeyPressListener('j', gotoNextPage);
 kibbles.keys.addKeyPressListener('k', gotoPreviousPage);
 
 
 }
 window.onload = function() {keysOnLoadHandler();};
 </script>


<!-- code review support -->
<script src="http://www.gstatic.com/codesite/ph/14614399729835259589/js/code_review_scripts_20081023.js"></script>
<script type="text/javascript">
 
 // the comment form template
 var form = '<div class="draft"><div class="header"><span class="title">Draft comment:</span></div>' +
 '<div class="body"><form onsubmit="return false;"><textarea id="$ID">$BODY</textarea><br>$ACTIONS</form></div>' +
 '</div>';
 // the comment "plate" template used for both draft and published comment "plates".
 var draft_comment = '<div class="draft" ondblclick="$ONDBLCLICK">' +
 '<div class="header"><span class="title">Draft comment:</span><span class="actions">$ACTIONS</span></div>' +
 '<pre id="$ID" class="body">$BODY</pre>' +
 '</div>';
 var published_comment = '<div class="published">' +
 '<div class="header"><span class="title"><a href="$PROFILE_URL">$AUTHOR:</a></span><div>' +
 '<pre id="$ID" class="body">$BODY</pre>' +
 '</div>';

 function showPublishInstructions() {
 var element = document.getElementById('review_instr');
 if (element) {
 element.className = 'opened';
 }
 }
 function revsOnLoadHandler() {
 // register our source container with the commenting code
 var paths = {'svn114': '/trunk/jqtouch/jqtouch.js'}
 CR_setup('p', 'jqtouch', '', 'svn114', paths,
 '5c206b958bb2bb3feae460371ca1c655', CR_BrowseIntegrationFactory);
 // register our hidden ui elements with the code commenting code ui builder.
 CR_registerLayoutElement('form', form);
 CR_registerLayoutElement('draft_comment', draft_comment);
 CR_registerLayoutElement('published_comment', published_comment);
 
 CR_registerActivityListener(CR_ACTIVITY_TYPE.REVEAL_DRAFT_PLATE, showPublishInstructions);
 
 CR_registerActivityListener(CR_ACTIVITY_TYPE.REVEAL_PUB_PLATE, pubRevealed);
 CR_registerActivityListener(CR_ACTIVITY_TYPE.REVEAL_DRAFT_PLATE, draftRevealed);
 CR_registerActivityListener(CR_ACTIVITY_TYPE.DISCARD_DRAFT_COMMENT, draftDestroyed);
 
 
 
 
 
 
 
 
 
 var initilized = true;
 reloadCursors();
 }
 window.onload = function() {keysOnLoadHandler(); revsOnLoadHandler();};
</script>

<script type="text/javascript" src="http://www.gstatic.com/codesite/ph/14614399729835259589/js/dit_scripts_20081013.js"></script>

 
 <script type="text/javascript" src="http://www.gstatic.com/codesite/ph/14614399729835259589/js/core_scripts_20081103.js"></script>
 <script type="text/javascript" src="/js/codesite_product_dictionary_ph.pack.04102009.js"></script>
 
 
 
 </div>
<div id="footer" dir="ltr">
 
 <div class="text">
 
 &copy;2009 Google -
 <a href="/">Code Home</a> -
 <a href="/projecthosting/terms.html">Terms of Service</a> -
 <a href="http://www.google.com/privacy.html">Privacy Policy</a> -
 <a href="/more/">Site Directory</a> -
 <a href="/p/support/">Project Hosting Help</a>
 
 </div>
</div>
<script type="text/javascript">
/**
 * Reports analytics.
 * It checks for the analytics functionality (window._gat) every 100ms
 * until the analytics script is fully loaded in order to invoke siteTracker.
 */
function _CS_reportAnalytics() {
 window.setTimeout(function() {
 if (window._gat) {
 try {
 siteTracker = _gat._getTracker(CS_ANALYTICS_ACCOUNT);
 siteTracker._trackPageview();
 } catch (e) {}
 
 } else {
 _CS_reportAnalytics();
 }
 }, 100);
}
</script>

 
 
 <div class="hostedBy" style="margin-top: -20px;">
 <span style="vertical-align: top;">Hosted by</span>
 <a href="/hosting/">
 <img src="http://www.gstatic.com/codesite/ph/images/google_code_tiny.png" width="107" height="24" alt="Google Code">
 </a>
 </div>
 
 
 
 


 
 </body>
</html>

